#5F5110#5F5110

#5F5110 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.7% C 0.082 H 96.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5F5110
RGBrgb(95, 81, 16)
HSLhsl(49, 71%, 22%)
HSVhsv(49, 83%, 37%)
CMYKcmyk(0%, 14.7%, 83.2%, 62.7%)
CIE-LABlab(34.71, -1.72, 37.50)
CIE-LCHlch(34.71, 37.54, 92.63°)
OKLaboklab(43.66% -0.0089 0.0817)
OKLCHoklch(43.66% 0.082 96.2)
XYZxyz(7.7557, 8.3556, 1.6944)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5110 #101E5F
analogous
#5F2A10 #5F5110 #465F10
triadic
#5F5110 #105F51 #51105F
tetradic
#5F5110 #105F2A #101E5F #5F1046
square
#5F5110 #105F2A #101E5F #5F1046
split-complementary
#5F5110 #10465F #2A105F
monochromatic
#1A1604 #2B2407 #5F5110 #937E19 #C8AA22

Accessibility & contrast

On white

7.86
#5F5110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5F5110 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5110
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5110#FFFFFF#000000##FFFFFF
##5F51101.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F03
Deuteranopia (green-blind)
#5E5414
Tritanopia (blue-blind)
#674A45
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5f5110;
/* rgb */ color: rgb(95, 81, 16);
/* oklch */ color: oklch(43.7% 0.082 96.2);
Tailwind
colors: {
  custom: {
    50: '#908154',
    500: '#5f5110',
    950: '#000000',
  },
}
SCSS
$custom: #5f5110;
$custom-light: #908154;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5110",
  "rgb": {
    "r": 95,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 49.367,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43662,
    "c": 0.08221,
    "h": 96.2
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#5F5110
secondary
#334598
accent
#5AEE3A
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5110

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

Preview Lab → · Contrast checker → · Palette generator →

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