#5F6F11#5F6F11

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

Color values

HEX#5F6F11
RGBrgb(95, 111, 17)
HSLhsl(70, 73%, 25%)
HSVhsv(70, 85%, 44%)
CMYKcmyk(14.4%, 0%, 84.7%, 56.5%)
CIE-LABlab(44.01, -18.69, 45.51)
CIE-LCHlch(44.01, 49.20, 112.33°)
OKLaboklab(51.09% -0.0561 0.0991)
OKLCHoklch(51.09% 0.114 119.5)
XYZxyz(10.5052, 13.8423, 2.6486)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6F11 #21116F
analogous
#6F5011 #5F6F11 #306F11
triadic
#5F6F11 #115F6F #6F115F
tetradic
#5F6F11 #116F50 #21116F #6F1130
square
#5F6F11 #116F50 #21116F #6F1130
split-complementary
#5F6F11 #11306F #50116F
monochromatic
#171B04 #323A09 #5F6F11 #8CA419 #BAD921

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F6F11#FFFFFF#000000##FFFFFF
##5F6F111.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)
#776800
Deuteranopia (green-blind)
#75681B
Tritanopia (blue-blind)
#65685E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f6f11;
/* rgb */ color: rgb(95, 111, 17);
/* oklch */ color: oklch(51.1% 0.114 119.5);
Tailwind
colors: {
  custom: {
    50: '#909859',
    500: '#5f6f11',
    950: '#000000',
  },
}
SCSS
$custom: #5f6f11;
$custom-light: #909859;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6f11",
  "rgb": {
    "r": 95,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 70.213,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51093,
    "c": 0.11381,
    "h": 119.5
  },
  "luminance": 0.13842
}

Semantic roles & 50–950 ramp

primary
#5F6F11
secondary
#4935A6
accent
#38F057
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6F11

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

Preview Lab → · Contrast checker → · Palette generator →

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