#6E8417#6E8417

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

Color values

HEX#6E8417
RGBrgb(110, 132, 23)
HSLhsl(72, 70%, 30%)
HSVhsv(72, 83%, 52%)
CMYKcmyk(16.7%, 0%, 82.6%, 48.2%)
CIE-LABlab(51.70, -22.60, 50.99)
CIE-LCHlch(51.70, 55.77, 113.90°)
OKLaboklab(57.59% -0.0671 0.1113)
OKLCHoklch(57.59% 0.13 121.1)
XYZxyz(14.8366, 19.8794, 3.8659)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8417 #2D1784
analogous
#846317 #6E8417 #378417
triadic
#6E8417 #176E84 #84176E
tetradic
#6E8417 #178463 #2D1784 #841737
square
#6E8417 #178463 #2D1784 #841737
split-complementary
#6E8417 #173784 #631784
monochromatic
#171C05 #43500E #6E8417 #99B820 #BBDC39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E8417#FFFFFF#000000##000000
##6E84171.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)
#8A7B22
Tritanopia (blue-blind)
#757D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6e8417;
/* rgb */ color: rgb(110, 132, 23);
/* oklch */ color: oklch(57.6% 0.130 121.1);
Tailwind
colors: {
  custom: {
    50: '#9ba75f',
    500: '#6e8417',
    950: '#000000',
  },
}
SCSS
$custom: #6e8417;
$custom-light: #9ba75f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8417",
  "rgb": {
    "r": 110,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 72.11,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57594,
    "c": 0.12996,
    "h": 121.1
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#6E8417
secondary
#573FB8
accent
#3BED5F
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8417

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

Preview Lab → · Contrast checker → · Palette generator →

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