#6D8417#6D8417

#6D8417 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.5% C 0.130 H 121.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6D8417
RGBrgb(109, 132, 23)
HSLhsl(73, 70%, 30%)
HSVhsv(73, 83%, 52%)
CMYKcmyk(17.4%, 0%, 82.6%, 48.2%)
CIE-LABlab(51.63, -23.03, 50.90)
CIE-LCHlch(51.63, 55.87, 114.35°)
OKLaboklab(57.52% -0.0683 0.1111)
OKLCHoklch(57.52% 0.13 121.6)
XYZxyz(14.7129, 19.8156, 3.8601)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8417 #2E1784
analogous
#846517 #6D8417 #368417
triadic
#6D8417 #176D84 #84176D
tetradic
#6D8417 #178465 #2E1784 #841736
square
#6D8417 #178465 #2E1784 #841736
split-complementary
#6D8417 #173684 #651784
monochromatic
#171C05 #42500E #6D8417 #98B820 #BADC39

Accessibility & contrast

On white

4.23
#6D8417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#6D8417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8417
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8417#FFFFFF#000000##000000
##6D84171.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d8417;
/* rgb */ color: rgb(109, 132, 23);
/* oklch */ color: oklch(57.5% 0.130 121.6);
Tailwind
colors: {
  custom: {
    50: '#9aa75f',
    500: '#6d8417',
    950: '#000000',
  },
}
SCSS
$custom: #6d8417;
$custom-light: #9aa75f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8417",
  "rgb": {
    "r": 109,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 72.661,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57517,
    "c": 0.13041,
    "h": 121.6
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#6D8417
secondary
#583FB8
accent
#3BED60
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8417

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

Preview Lab → · Contrast checker → · Palette generator →

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