#6E8D17#6E8D17

#6E8D17 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.141 H 124.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6E8D17
RGBrgb(110, 141, 23)
HSLhsl(76, 72%, 32%)
HSVhsv(76, 84%, 55%)
CMYKcmyk(22%, 0%, 83.7%, 44.7%)
CIE-LABlab(54.48, -27.07, 53.45)
CIE-LCHlch(54.48, 59.92, 116.86°)
OKLaboklab(59.84% -0.0793 0.1165)
OKLCHoklch(59.84% 0.141 124.3)
XYZxyz(16.1101, 22.4265, 4.2904)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8D17 #36178D
analogous
#8D7117 #6E8D17 #338D17
triadic
#6E8D17 #176E8D #8D176E
tetradic
#6E8D17 #178D71 #36178D #8D1733
square
#6E8D17 #178D71 #36178D #8D1733
split-complementary
#6E8D17 #17338D #71178D
monochromatic
#1C2406 #45580E #6E8D17 #97C220 #B5E03F

Accessibility & contrast

On white

3.83
#6E8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#6E8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8D17
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8D17#FFFFFF#000000##000000
##6E8D171.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#748678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6e8d17;
/* rgb */ color: rgb(110, 141, 23);
/* oklch */ color: oklch(59.8% 0.141 124.3);
Tailwind
colors: {
  custom: {
    50: '#9bae61',
    500: '#6e8d17',
    950: '#000000',
  },
}
SCSS
$custom: #6e8d17;
$custom-light: #9bae61;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8d17",
  "rgb": {
    "r": 110,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 75.763,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59839,
    "c": 0.14095,
    "h": 124.3
  },
  "luminance": 0.22427
}

Semantic roles & 50–950 ramp

primary
#6E8D17
secondary
#6240C0
accent
#39EF69
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6E8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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