#5D500E#5D500E

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

Color values

HEX#5D500E
RGBrgb(93, 80, 14)
HSLhsl(50, 74%, 21%)
HSVhsv(50, 85%, 36%)
CMYKcmyk(0%, 14%, 84.9%, 63.5%)
CIE-LABlab(34.18, -2.21, 37.69)
CIE-LCHlch(34.18, 37.75, 93.35°)
OKLaboklab(43.19% -0.0104 0.0818)
OKLCHoklch(43.19% 0.082 97.2)
XYZxyz(7.4625, 8.0966, 1.5851)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D500E #0E1B5D
analogous
#5D280E #5D500E #425D0E
triadic
#5D500E #0E5D50 #500E5D
tetradic
#5D500E #0E5D28 #0E1B5D #5D0E42
square
#5D500E #0E5D28 #0E1B5D #5D0E42
split-complementary
#5D500E #0E425D #280E5D
monochromatic
#1B1704 #282206 #5D500E #927E16 #C7AC1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D500E#FFFFFF#000000##FFFFFF
##5D500E1.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)
#594E01
Deuteranopia (green-blind)
#5D5213
Tritanopia (blue-blind)
#654944
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d500e;
/* rgb */ color: rgb(93, 80, 14);
/* oklch */ color: oklch(43.2% 0.082 97.2);
Tailwind
colors: {
  custom: {
    50: '#8e8053',
    500: '#5d500e',
    950: '#000000',
  },
}
SCSS
$custom: #5d500e;
$custom-light: #8e8053;
$custom-dark: #000000;
JSON
{
  "hex": "#5d500e",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 14
  },
  "hsl": {
    "h": 50.127,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43189,
    "c": 0.08244,
    "h": 97.2
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

primary
#5D500E
secondary
#304197
accent
#56F037
background
#F9F7F4
surface
#F1EEE8
border
#CBC9C4
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D500E

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

Preview Lab → · Contrast checker → · Palette generator →

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