#5F6F17#5F6F17

#5F6F17 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.1% C 0.111 H 119.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5F6F17
RGBrgb(95, 111, 23)
HSLhsl(71, 66%, 26%)
HSVhsv(71, 79%, 44%)
CMYKcmyk(14.4%, 0%, 79.3%, 56.5%)
CIE-LABlab(44.04, -18.42, 43.58)
CIE-LCHlch(44.04, 47.31, 112.91°)
OKLaboklab(51.13% -0.0548 0.0961)
OKLCHoklch(51.13% 0.111 119.7)
XYZxyz(10.5586, 13.8637, 2.9302)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6F17 #27176F
analogous
#6F5317 #5F6F17 #336F17
triadic
#5F6F17 #175F6F #6F175F
tetradic
#5F6F17 #176F53 #27176F #6F1733
square
#5F6F17 #176F53 #27176F #6F1733
split-complementary
#5F6F17 #17336F #53176F
monochromatic
#161905 #343C0C #5F6F17 #8AA222 #B5D32D

Accessibility & contrast

On white

5.57
#5F6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5F6F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6F17
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6F17#FFFFFF#000000##FFFFFF
##5F6F171.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776803
Deuteranopia (green-blind)
#75681F
Tritanopia (blue-blind)
#65695E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f6f17;
/* rgb */ color: rgb(95, 111, 23);
/* oklch */ color: oklch(51.1% 0.111 119.7);
Tailwind
colors: {
  custom: {
    50: '#8f985c',
    500: '#5f6f17',
    950: '#000000',
  },
}
SCSS
$custom: #5f6f17;
$custom-light: #8f985c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6f17",
  "rgb": {
    "r": 95,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 70.909,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51127,
    "c": 0.11061,
    "h": 119.7
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#5F6F17
secondary
#503DA5
accent
#3FE95E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6F17

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

Preview Lab → · Contrast checker → · Palette generator →

#5F6F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva