#6E8117#6E8117

#6E8117 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.8% C 0.126 H 119.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6E8117
RGBrgb(110, 129, 23)
HSLhsl(71, 70%, 30%)
HSVhsv(71, 82%, 51%)
CMYKcmyk(14.7%, 0%, 82.2%, 49.4%)
CIE-LABlab(50.78, -21.07, 50.17)
CIE-LCHlch(50.78, 54.41, 112.78°)
OKLaboklab(56.85% -0.063 0.1095)
OKLCHoklch(56.85% 0.126 119.9)
XYZxyz(14.4356, 19.0774, 3.7323)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8117 #2A1781
analogous
#815F17 #6E8117 #398117
triadic
#6E8117 #176E81 #81176E
tetradic
#6E8117 #17815F #2A1781 #811739
square
#6E8117 #17815F #2A1781 #811739
split-complementary
#6E8117 #173981 #5F1781
monochromatic
#161A05 #424D0E #6E8117 #9AB520 #BEDB37

Accessibility & contrast

On white

4.36
#6E8117 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#6E8117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8117
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8117#FFFFFF#000000##000000
##6E81171.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#887922
Tritanopia (blue-blind)
#757A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6e8117;
/* rgb */ color: rgb(110, 129, 23);
/* oklch */ color: oklch(56.8% 0.126 119.9);
Tailwind
colors: {
  custom: {
    50: '#9ba55f',
    500: '#6e8117',
    950: '#000000',
  },
}
SCSS
$custom: #6e8117;
$custom-light: #9ba55f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8117",
  "rgb": {
    "r": 110,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 70.755,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56849,
    "c": 0.12631,
    "h": 119.9
  },
  "luminance": 0.19077
}

Semantic roles & 50–950 ramp

primary
#6E8117
secondary
#543EB5
accent
#3BED5B
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8117

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6E8117 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva