#6F8E17#6F8E17

#6F8E17 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.2% C 0.142 H 124.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6F8E17
RGBrgb(111, 142, 23)
HSLhsl(76, 72%, 32%)
HSVhsv(76, 84%, 56%)
CMYKcmyk(21.8%, 0%, 83.8%, 44.3%)
CIE-LABlab(54.85, -27.13, 53.81)
CIE-LCHlch(54.85, 60.26, 116.76°)
OKLaboklab(60.16% -0.0796 0.1172)
OKLCHoklch(60.16% 0.142 124.2)
XYZxyz(16.3834, 22.7872, 4.3457)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8E17 #36178E
analogous
#8E7117 #6F8E17 #348E17
triadic
#6F8E17 #176F8E #8E176F
tetradic
#6F8E17 #178E71 #36178E #8E1734
square
#6F8E17 #178E71 #36178E #8E1734
split-complementary
#6F8E17 #17348E #71178E
monochromatic
#1D2506 #46590E #6F8E17 #98C320 #B6E03F

Accessibility & contrast

On white

3.78
#6F8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#6F8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8E17
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8E17#FFFFFF#000000##000000
##6F8E171.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#758779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6f8e17;
/* rgb */ color: rgb(111, 142, 23);
/* oklch */ color: oklch(60.2% 0.142 124.2);
Tailwind
colors: {
  custom: {
    50: '#9caf61',
    500: '#6f8e17',
    950: '#000000',
  },
}
SCSS
$custom: #6f8e17;
$custom-light: #9caf61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8e17",
  "rgb": {
    "r": 111,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 75.63,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60161,
    "c": 0.14169,
    "h": 124.2
  },
  "luminance": 0.22787
}

Semantic roles & 50–950 ramp

primary
#6F8E17
secondary
#6240C0
accent
#39EF68
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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