#6E8817#6E8817

#6E8817 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.6% C 0.135 H 122.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6E8817
RGBrgb(110, 136, 23)
HSLhsl(74, 71%, 31%)
HSVhsv(74, 83%, 53%)
CMYKcmyk(19.1%, 0%, 83.1%, 46.7%)
CIE-LABlab(52.93, -24.61, 52.09)
CIE-LCHlch(52.93, 57.61, 115.29°)
OKLaboklab(58.59% -0.0726 0.1136)
OKLCHoklch(58.59% 0.135 122.6)
XYZxyz(15.3895, 20.9851, 4.0502)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8817 #311788
analogous
#886917 #6E8817 #358817
triadic
#6E8817 #176E88 #88176E
tetradic
#6E8817 #178869 #311788 #881735
square
#6E8817 #178869 #311788 #881735
split-complementary
#6E8817 #173588 #691788
monochromatic
#191F05 #44540E #6E8817 #98BC20 #B9DE3B

Accessibility & contrast

On white

4.04
#6E8817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#6E8817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8817
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8817#FFFFFF#000000##000000
##6E88171.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#748174
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6e8817;
/* rgb */ color: rgb(110, 136, 23);
/* oklch */ color: oklch(58.6% 0.135 122.6);
Tailwind
colors: {
  custom: {
    50: '#9baa60',
    500: '#6e8817',
    950: '#000000',
  },
}
SCSS
$custom: #6e8817;
$custom-light: #9baa60;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8817",
  "rgb": {
    "r": 110,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 73.805,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5859,
    "c": 0.13483,
    "h": 122.6
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

primary
#6E8817
secondary
#5C3FBC
accent
#3AEE63
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6E8817

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

Preview Lab → · Contrast checker → · Palette generator →

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