#6F8417#6F8417

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

Color values

HEX#6F8417
RGBrgb(111, 132, 23)
HSLhsl(72, 70%, 30%)
HSVhsv(72, 83%, 52%)
CMYKcmyk(15.9%, 0%, 82.6%, 48.2%)
CIE-LABlab(51.77, -22.16, 51.08)
CIE-LCHlch(51.77, 55.68, 113.45°)
OKLaboklab(57.67% -0.066 0.1114)
OKLCHoklch(57.67% 0.13 120.6)
XYZxyz(14.9618, 19.9439, 3.8718)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8417 #2C1784
analogous
#846317 #6F8417 #388417
triadic
#6F8417 #176F84 #84176F
tetradic
#6F8417 #178463 #2C1784 #841738
square
#6F8417 #178463 #2C1784 #841738
split-complementary
#6F8417 #173884 #631784
monochromatic
#171C05 #43500E #6F8417 #9BB820 #BDDC39

Accessibility & contrast

On white

4.21
#6F8417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6F8417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8417
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8417#FFFFFF#000000##000000
##6F84171.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f8417;
/* rgb */ color: rgb(111, 132, 23);
/* oklch */ color: oklch(57.7% 0.130 120.6);
Tailwind
colors: {
  custom: {
    50: '#9ca75f',
    500: '#6f8417',
    950: '#000000',
  },
}
SCSS
$custom: #6f8417;
$custom-light: #9ca75f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8417",
  "rgb": {
    "r": 111,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 71.56,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57672,
    "c": 0.1295,
    "h": 120.6
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#6F8417
secondary
#563FB8
accent
#3BED5D
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8417

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

Preview Lab → · Contrast checker → · Palette generator →

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