#6B8E23 color (olivedrab)

#6B8E23 is rgb(107, 142, 35) in RGB and hsl(80, 60%, 35%) in HSL. It is exactly the CSS color olivedrab. Use black text on it (contrast 5.52:1).

#6B8E23olivedrab
HEX#6B8E23
RGBrgb(107, 142, 35)
RGB percentrgb(42%, 55.7%, 13.7%)
HSLhsl(80, 60%, 35%)
HSV / HSBhsv(80, 75%, 56%)
CMYKcmyk(25%, 0%, 75%, 44%)
CIELAB (D65)lab(54.7 -28.2 49.7)

Edit in the color converter → · Check contrast → · Shades →

About #6B8E23

#6B8E23 is a medium-dark, saturated yellow-green with a hue angle of 80°. It belongs to the green family and reads as a balanced color. In the RGB model green is the strongest channel at 142 (56%) and blue the weakest at 35 (14%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#6B8E23
RGBrgb(107, 142, 35)
RGB percentrgb(42%, 55.7%, 13.7%)
HSLhsl(80, 60%, 35%)
HSV / HSBhsv(80, 75%, 56%)
CMYKcmyk(25%, 0%, 75%, 44%)
CIELAB (D65)lab(54.7 -28.2 49.7)
Decimal7048739
Binary01101011 10001110 00100011

HEX 6B 8E 23 → 107, 142, 35 (each pair is a base-16 number: 6×16 + B = 107)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #6B8E23

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #6B8E23RatioAA normalAA largeAAA normalAAA large
White text3.81:1FailPassFailFail
Black text5.52:1PassPassFailPass
White text on #6B8E23
Black text on #6B8E23
#6B8E23 text on white
#6B8E23 text on black

Relative luminance is 0.2259 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#96840d

Deuteranopia
#91822d

Tritanopia
#708779

Achromatopsia
#838383

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 13.3). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
olivedrab#6b8e230
olive#8080009.8
forestgreen#228b2210.2
green#00800012.4

CSS

.element {
  color: #6b8e23;
  background-color: rgb(107, 142, 35);
  border: 1px solid hsl(80, 60%, 35%);
  box-shadow: 0 2px 8px rgb(107 142 35 / 50%);
}
:root { --brand: #6b8e23; }

Frequently asked questions

What color is #6B8E23?
A medium-dark saturated yellow-green in the green family. Closest CSS name: olivedrab.
What is #6B8E23 in RGB?
rgb(107, 142, 35): red 107, green 142, blue 35.
What is the complementary color of #6B8E23?
#46238E, found by rotating the hue 180°.