#5D5019#5D5019

#5D5019 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.3% C 0.075 H 95.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#5D5019
RGBrgb(93, 80, 25)
HSLhsl(49, 58%, 23%)
HSVhsv(49, 73%, 36%)
CMYKcmyk(0%, 14%, 73.1%, 63.5%)
CIE-LABlab(34.26, -1.63, 33.10)
CIE-LCHlch(34.26, 33.14, 92.82°)
OKLaboklab(43.28% -0.0074 0.0744)
OKLCHoklch(43.28% 0.075 95.7)
XYZxyz(7.5587, 8.1351, 2.0916)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5019 #19265D
analogous
#5D2E19 #5D5019 #485D19
triadic
#5D5019 #195D50 #50195D
tetradic
#5D5019 #195D2E #19265D #5D1948
square
#5D5019 #195D2E #19265D #5D1948
split-complementary
#5D5019 #19485D #2E195D
monochromatic
#181506 #2D270C #5D5019 #8D7926 #BDA333

Accessibility & contrast

On white

7.99
#5D5019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5D5019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5019
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5019#FFFFFF#000000##FFFFFF
##5D50191.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E12
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#654945
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d5019;
/* rgb */ color: rgb(93, 80, 25);
/* oklch */ color: oklch(43.3% 0.075 95.7);
Tailwind
colors: {
  custom: {
    50: '#8d8059',
    500: '#5d5019',
    950: '#000000',
  },
}
SCSS
$custom: #5d5019;
$custom-light: #8d8059;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5019",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 48.529,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43277,
    "c": 0.07478,
    "h": 95.7
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#5D5019
secondary
#3F4F93
accent
#64E147
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A04
muted
#7D7C79

Preview Lab

Preview with #5D5019

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

Preview Lab → · Contrast checker → · Palette generator →

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