#6E8418#6E8418

#6E8418 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.6% C 0.129 H 121.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6E8418
RGBrgb(110, 132, 24)
HSLhsl(72, 69%, 31%)
HSVhsv(72, 82%, 52%)
CMYKcmyk(16.7%, 0%, 81.8%, 48.2%)
CIE-LABlab(51.71, -22.55, 50.70)
CIE-LCHlch(51.71, 55.49, 113.98°)
OKLaboklab(57.6% -0.0669 0.1108)
OKLCHoklch(57.6% 0.129 121.1)
XYZxyz(14.8468, 19.8835, 3.9197)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8418 #2E1884
analogous
#846418 #6E8418 #388418
triadic
#6E8418 #186E84 #84186E
tetradic
#6E8418 #188464 #2E1884 #841838
square
#6E8418 #188464 #2E1884 #841838
split-complementary
#6E8418 #183884 #641884
monochromatic
#181C05 #43500F #6E8418 #99B821 #BBDB3B

Accessibility & contrast

On white

4.22
#6E8418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#6E8418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8418
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8418#FFFFFF#000000##000000
##6E84181.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#757D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6e8418;
/* rgb */ color: rgb(110, 132, 24);
/* oklch */ color: oklch(57.6% 0.129 121.1);
Tailwind
colors: {
  custom: {
    50: '#9ba760',
    500: '#6e8418',
    950: '#000000',
  },
}
SCSS
$custom: #6e8418;
$custom-light: #9ba760;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8418",
  "rgb": {
    "r": 110,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 72.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57599,
    "c": 0.12947,
    "h": 121.1
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#6E8418
secondary
#5840B8
accent
#3CEC60
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8418

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

Preview Lab → · Contrast checker → · Palette generator →

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