#5D500F#5D500F

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

Color values

HEX#5D500F
RGBrgb(93, 80, 15)
HSLhsl(50, 72%, 21%)
HSVhsv(50, 84%, 36%)
CMYKcmyk(0%, 14%, 83.9%, 63.5%)
CIE-LABlab(34.19, -2.16, 37.33)
CIE-LCHlch(34.19, 37.39, 93.32°)
OKLaboklab(43.2% -0.0102 0.0812)
OKLCHoklch(43.2% 0.082 97.1)
XYZxyz(7.4695, 8.0994, 1.6217)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D500F #0F1C5D
analogous
#5D290F #5D500F #435D0F
triadic
#5D500F #0F5D50 #500F5D
tetradic
#5D500F #0F5D29 #0F1C5D #5D0F43
square
#5D500F #0F5D29 #0F1C5D #5D0F43
split-complementary
#5D500F #0F435D #290F5D
monochromatic
#1A1704 #282306 #5D500F #927D17 #C6AB20

Accessibility & contrast

On white

8.02
#5D500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5D500F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D500F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D500F#FFFFFF#000000##FFFFFF
##5D500F1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E02
Deuteranopia (green-blind)
#5C5214
Tritanopia (blue-blind)
#654944
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d500f;
/* rgb */ color: rgb(93, 80, 15);
/* oklch */ color: oklch(43.2% 0.082 97.1);
Tailwind
colors: {
  custom: {
    50: '#8e8054',
    500: '#5d500f',
    950: '#000000',
  },
}
SCSS
$custom: #5d500f;
$custom-light: #8e8054;
$custom-dark: #000000;
JSON
{
  "hex": "#5d500f",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 50,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43195,
    "c": 0.08186,
    "h": 97.1
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#5D500F
secondary
#314296
accent
#57EF39
background
#F9F7F5
surface
#F1EEE8
border
#CBC9C4
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D500F

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

Preview Lab → · Contrast checker → · Palette generator →

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