#5D5014#5D5014

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

Color values

HEX#5D5014
RGBrgb(93, 80, 20)
HSLhsl(49, 65%, 22%)
HSVhsv(49, 78%, 36%)
CMYKcmyk(0%, 14%, 78.5%, 63.5%)
CIE-LABlab(34.22, -1.92, 35.34)
CIE-LCHlch(34.22, 35.39, 93.12°)
OKLaboklab(43.23% -0.0089 0.0781)
OKLCHoklch(43.23% 0.079 96.5)
XYZxyz(7.5095, 8.1154, 1.8326)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5014 #14215D
analogous
#5D2C14 #5D5014 #465D14
triadic
#5D5014 #145D50 #50145D
tetradic
#5D5014 #145D2C #14215D #5D1446
square
#5D5014 #145D2C #14215D #5D1446
split-complementary
#5D5014 #14465D #2C145D
monochromatic
#191605 #2B2509 #5D5014 #8F7B1F #C2A72A

Accessibility & contrast

On white

8.01
#5D5014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D5014
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5014#FFFFFF#000000##FFFFFF
##5D50141.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d5014;
/* rgb */ color: rgb(93, 80, 20);
/* oklch */ color: oklch(43.2% 0.079 96.5);
Tailwind
colors: {
  custom: {
    50: '#8e8056',
    500: '#5d5014',
    950: '#000000',
  },
}
SCSS
$custom: #5d5014;
$custom-light: #8e8056;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5014",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 49.315,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43232,
    "c": 0.07862,
    "h": 96.5
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#5D5014
secondary
#384995
accent
#5EE840
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D5014

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

Preview Lab → · Contrast checker → · Palette generator →

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