#5F5011#5F5011

#5F5011 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.4% C 0.081 H 94.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5F5011
RGBrgb(95, 80, 17)
HSLhsl(48, 70%, 22%)
HSVhsv(48, 82%, 37%)
CMYKcmyk(0%, 15.8%, 82.1%, 62.7%)
CIE-LABlab(34.42, -1.07, 36.84)
CIE-LCHlch(34.42, 36.86, 91.66°)
OKLaboklab(43.43% -0.007 0.0806)
OKLCHoklch(43.43% 0.081 94.9)
XYZxyz(7.6896, 8.2111, 1.7101)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5011 #11205F
analogous
#5F2911 #5F5011 #475F11
triadic
#5F5011 #115F50 #50115F
tetradic
#5F5011 #115F29 #11205F #5F1147
square
#5F5011 #115F29 #11205F #5F1147
split-complementary
#5F5011 #11475F #29115F
monochromatic
#1A1605 #2B2408 #5F5011 #937C1A #C7A724

Accessibility & contrast

On white

7.95
#5F5011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5F5011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5011
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5011#FFFFFF#000000##FFFFFF
##5F50111.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E05
Deuteranopia (green-blind)
#5D5315
Tritanopia (blue-blind)
#674944
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5f5011;
/* rgb */ color: rgb(95, 80, 17);
/* oklch */ color: oklch(43.4% 0.081 94.9);
Tailwind
colors: {
  custom: {
    50: '#908055',
    500: '#5f5011',
    950: '#000000',
  },
}
SCSS
$custom: #5f5011;
$custom-light: #908055;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5011",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 48.462,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43432,
    "c": 0.08085,
    "h": 94.9
  },
  "luminance": 0.08211
}

Semantic roles & 50–950 ramp

primary
#5F5011
secondary
#344798
accent
#5DEC3B
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5011

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

Preview Lab → · Contrast checker → · Palette generator →

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