#6E8816#6E8816

#6E8816 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#6E8816
RGBrgb(110, 136, 22)
HSLhsl(74, 72%, 31%)
HSVhsv(74, 84%, 53%)
CMYKcmyk(19.1%, 0%, 83.8%, 46.7%)
CIE-LABlab(52.93, -24.65, 52.37)
CIE-LCHlch(52.93, 57.88, 115.20°)
OKLaboklab(58.59% -0.0728 0.114)
OKLCHoklch(58.59% 0.135 122.6)
XYZxyz(15.3796, 20.9812, 3.9984)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8816 #301688
analogous
#886916 #6E8816 #358816
triadic
#6E8816 #166E88 #88166E
tetradic
#6E8816 #168869 #301688 #881635
square
#6E8816 #168869 #301688 #881635
split-complementary
#6E8816 #163588 #691688
monochromatic
#191F05 #43530D #6E8816 #99BD1F #B9DF39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E8816#FFFFFF#000000##000000
##6E88161.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: #6e8816;
/* rgb */ color: rgb(110, 136, 22);
/* oklch */ color: oklch(58.6% 0.135 122.6);
Tailwind
colors: {
  custom: {
    50: '#9baa60',
    500: '#6e8816',
    950: '#000000',
  },
}
SCSS
$custom: #6e8816;
$custom-light: #9baa60;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8816",
  "rgb": {
    "r": 110,
    "g": 136,
    "b": 22
  },
  "hsl": {
    "h": 73.684,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58585,
    "c": 0.13528,
    "h": 122.6
  },
  "luminance": 0.20981
}

Semantic roles & 50–950 ramp

primary
#6E8816
secondary
#5B3EBC
accent
#39EF62
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F1005
muted
#7E7F79

Preview Lab

Preview with #6E8816

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

Preview Lab → · Contrast checker → · Palette generator →

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