#5F5010#5F5010

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

Color values

HEX#5F5010
RGBrgb(95, 80, 16)
HSLhsl(49, 71%, 22%)
HSVhsv(49, 83%, 37%)
CMYKcmyk(0%, 15.8%, 83.2%, 62.7%)
CIE-LABlab(34.41, -1.12, 37.23)
CIE-LCHlch(34.41, 37.25, 91.72°)
OKLaboklab(43.43% -0.0072 0.0811)
OKLCHoklch(43.43% 0.081 95.1)
XYZxyz(7.6819, 8.2081, 1.6698)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5010 #101F5F
analogous
#5F2910 #5F5010 #475F10
triadic
#5F5010 #105F50 #50105F
tetradic
#5F5010 #105F29 #101F5F #5F1047
square
#5F5010 #105F29 #101F5F #5F1047
split-complementary
#5F5010 #10475F #29105F
monochromatic
#1A1604 #2B2407 #5F5010 #937C19 #C8A822

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5010#FFFFFF#000000##FFFFFF
##5F50101.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)
#594E04
Deuteranopia (green-blind)
#5D5314
Tritanopia (blue-blind)
#674944
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5f5010;
/* rgb */ color: rgb(95, 80, 16);
/* oklch */ color: oklch(43.4% 0.081 95.1);
Tailwind
colors: {
  custom: {
    50: '#908054',
    500: '#5f5010',
    950: '#000000',
  },
}
SCSS
$custom: #5f5010;
$custom-light: #908054;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5010",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 48.608,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43425,
    "c": 0.08146,
    "h": 95.1
  },
  "luminance": 0.08208
}

Semantic roles & 50–950 ramp

primary
#5F5010
secondary
#334698
accent
#5CEE3A
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5010

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

Preview Lab → · Contrast checker → · Palette generator →

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