#5D5A14#5D5A14

#5D5A14 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.7% C 0.088 H 106.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5D5A14
RGBrgb(93, 90, 20)
HSLhsl(58, 65%, 22%)
HSVhsv(58, 78%, 36%)
CMYKcmyk(0%, 3.2%, 78.5%, 63.5%)
CIE-LABlab(37.28, -7.86, 38.27)
CIE-LCHlch(37.28, 39.07, 101.60°)
OKLaboklab(45.66% -0.0257 0.0843)
OKLCHoklch(45.66% 0.088 106.9)
XYZxyz(8.2970, 9.6903, 2.0950)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5A14 #14175D
analogous
#5D3614 #5D5A14 #3C5D14
triadic
#5D5A14 #145D5A #5A145D
tetradic
#5D5A14 #145D36 #14175D #5D143C
square
#5D5A14 #145D36 #14175D #5D143C
split-complementary
#5D5A14 #143C5D #36145D
monochromatic
#191805 #2B2909 #5D5A14 #8F8B1F #C2BB2A

Accessibility & contrast

On white

7.15
#5D5A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5D5A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5A14
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5A14#FFFFFF#000000##FFFFFF
##5D5A141.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625607
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#64544D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d5a14;
/* rgb */ color: rgb(93, 90, 20);
/* oklch */ color: oklch(45.7% 0.088 106.9);
Tailwind
colors: {
  custom: {
    50: '#8e8858',
    500: '#5d5a14',
    950: '#000000',
  },
}
SCSS
$custom: #5d5a14;
$custom-light: #8e8858;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5a14",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 20
  },
  "hsl": {
    "h": 57.534,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45662,
    "c": 0.08815,
    "h": 106.9
  },
  "luminance": 0.0969
}

Semantic roles & 50–950 ramp

primary
#5D5A14
secondary
#383C95
accent
#47E840
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5D5A14

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

Preview Lab → · Contrast checker → · Palette generator →

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