#6E8E17#6E8E17

#6E8E17 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.1% C 0.142 H 124.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6E8E17
RGBrgb(110, 142, 23)
HSLhsl(76, 72%, 32%)
HSVhsv(76, 84%, 56%)
CMYKcmyk(22.5%, 0%, 83.8%, 44.3%)
CIE-LABlab(54.79, -27.56, 53.73)
CIE-LCHlch(54.79, 60.38, 117.15°)
OKLaboklab(60.09% -0.0806 0.1171)
OKLCHoklch(60.09% 0.142 124.6)
XYZxyz(16.2582, 22.7227, 4.3398)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8E17 #37178E
analogous
#8E7217 #6E8E17 #338E17
triadic
#6E8E17 #176E8E #8E176E
tetradic
#6E8E17 #178E72 #37178E #8E1733
square
#6E8E17 #178E72 #37178E #8E1733
split-complementary
#6E8E17 #17338E #72178E
monochromatic
#1C2506 #45590E #6E8E17 #97C320 #B5E03F

Accessibility & contrast

On white

3.79
#6E8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#6E8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8E17
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8E17#FFFFFF#000000##000000
##6E8E171.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#748779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6e8e17;
/* rgb */ color: rgb(110, 142, 23);
/* oklch */ color: oklch(60.1% 0.142 124.6);
Tailwind
colors: {
  custom: {
    50: '#9baf61',
    500: '#6e8e17',
    950: '#000000',
  },
}
SCSS
$custom: #6e8e17;
$custom-light: #9baf61;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8e17",
  "rgb": {
    "r": 110,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 76.134,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60089,
    "c": 0.14218,
    "h": 124.6
  },
  "luminance": 0.22723
}

Semantic roles & 50–950 ramp

primary
#6E8E17
secondary
#6340C0
accent
#39EF6A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6E8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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