#5F500F#5F500F

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

Color values

HEX#5F500F
RGBrgb(95, 80, 15)
HSLhsl(49, 73%, 22%)
HSVhsv(49, 84%, 37%)
CMYKcmyk(0%, 15.8%, 84.2%, 62.7%)
CIE-LABlab(34.41, -1.16, 37.60)
CIE-LCHlch(34.41, 37.62, 91.76°)
OKLaboklab(43.42% -0.0074 0.0817)
OKLCHoklch(43.42% 0.082 95.2)
XYZxyz(7.6746, 8.2051, 1.6314)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F500F #0F1E5F
analogous
#5F280F #5F500F #465F0F
triadic
#5F500F #0F5F50 #500F5F
tetradic
#5F500F #0F5F28 #0F1E5F #5F0F46
square
#5F500F #0F5F28 #0F1E5F #5F0F46
split-complementary
#5F500F #0F465F #280F5F
monochromatic
#1A1604 #2A2307 #5F500F #947D17 #C9A920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F500F#FFFFFF#000000##FFFFFF
##5F500F1.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)
#594E02
Deuteranopia (green-blind)
#5D5313
Tritanopia (blue-blind)
#674944
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5f500f;
/* rgb */ color: rgb(95, 80, 15);
/* oklch */ color: oklch(43.4% 0.082 95.2);
Tailwind
colors: {
  custom: {
    50: '#908054',
    500: '#5f500f',
    950: '#000000',
  },
}
SCSS
$custom: #5f500f;
$custom-light: #908054;
$custom-dark: #000000;
JSON
{
  "hex": "#5f500f",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 48.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.08205,
    "h": 95.2
  },
  "luminance": 0.08205
}

Semantic roles & 50–950 ramp

primary
#5F500F
secondary
#324598
accent
#5BEF38
background
#F9F7F5
surface
#F1EEE8
border
#CBC9C4
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F500F

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

Preview Lab → · Contrast checker → · Palette generator →

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