#5F601F#5F601F

#5F601F is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.4% C 0.086 H 110.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5F601F
RGBrgb(95, 96, 31)
HSLhsl(61, 51%, 25%)
HSVhsv(61, 68%, 38%)
CMYKcmyk(1%, 0%, 67.7%, 62.4%)
CIE-LABlab(39.41, -9.67, 35.68)
CIE-LCHlch(39.41, 36.97, 105.17°)
OKLaboklab(47.43% -0.0296 0.0809)
OKLCHoklch(47.43% 0.086 110.1)
XYZxyz(9.1498, 10.8978, 2.9176)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F601F #201F60
analogous
#60411F #5F601F #3F601F
triadic
#5F601F #1F5F60 #601F5F
tetradic
#5F601F #1F6041 #201F60 #601F3F
square
#5F601F #1F6041 #201F60 #601F3F
split-complementary
#5F601F #1F3F60 #411F60
monochromatic
#171707 #313210 #5F601F #8D8E2E #BBBD3D

Accessibility & contrast

On white

6.60
#5F601F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5F601F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F601F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F601F#FFFFFF#000000##FFFFFF
##5F601F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C17
Deuteranopia (green-blind)
#685E23
Tritanopia (blue-blind)
#665A53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f601f;
/* rgb */ color: rgb(95, 96, 31);
/* oklch */ color: oklch(47.4% 0.086 110.1);
Tailwind
colors: {
  custom: {
    50: '#8f8d5e',
    500: '#5f601f',
    950: '#000000',
  },
}
SCSS
$custom: #5f601f;
$custom-light: #8f8d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f601f",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 31
  },
  "hsl": {
    "h": 60.923,
    "s": 51.181,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47432,
    "c": 0.08615,
    "h": 110.1
  },
  "luminance": 0.10898
}

Semantic roles & 50–950 ramp

primary
#5F601F
secondary
#474695
accent
#4DDB4F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C05
muted
#7D7D79

Preview Lab

Preview with #5F601F

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

Preview Lab → · Contrast checker → · Palette generator →

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