#5F6F16#5F6F16

#5F6F16 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#5F6F16
RGBrgb(95, 111, 22)
HSLhsl(71, 67%, 26%)
HSVhsv(71, 80%, 44%)
CMYKcmyk(14.4%, 0%, 80.2%, 56.5%)
CIE-LABlab(44.03, -18.47, 43.92)
CIE-LCHlch(44.03, 47.65, 112.81°)
OKLaboklab(51.12% -0.055 0.0966)
OKLCHoklch(51.12% 0.111 119.7)
XYZxyz(10.5488, 13.8598, 2.8784)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6F16 #26166F
analogous
#6F5216 #5F6F16 #326F16
triadic
#5F6F16 #165F6F #6F165F
tetradic
#5F6F16 #166F52 #26166F #6F1632
square
#5F6F16 #166F52 #26166F #6F1632
split-complementary
#5F6F16 #16326F #52166F
monochromatic
#161A05 #333C0C #5F6F16 #8BA220 #B6D52B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F6F16#FFFFFF#000000##FFFFFF
##5F6F161.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)
#776801
Deuteranopia (green-blind)
#75681E
Tritanopia (blue-blind)
#65695E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f6f16;
/* rgb */ color: rgb(95, 111, 22);
/* oklch */ color: oklch(51.1% 0.111 119.7);
Tailwind
colors: {
  custom: {
    50: '#8f985b',
    500: '#5f6f16',
    950: '#000000',
  },
}
SCSS
$custom: #5f6f16;
$custom-light: #8f985b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6f16",
  "rgb": {
    "r": 95,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 70.787,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51121,
    "c": 0.11119,
    "h": 119.7
  },
  "luminance": 0.1386
}

Semantic roles & 50–950 ramp

primary
#5F6F16
secondary
#4F3CA5
accent
#3EEA5D
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6F16

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

Preview Lab → · Contrast checker → · Palette generator →

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