#5A601D#5A601D

#5A601D is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 46.9% C 0.089 H 114.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5A601D
RGBrgb(90, 96, 29)
HSLhsl(65, 54%, 25%)
HSVhsv(65, 70%, 38%)
CMYKcmyk(6.2%, 0%, 69.8%, 62.4%)
CIE-LABlab(38.95, -12.19, 35.99)
CIE-LCHlch(38.95, 38.00, 108.71°)
OKLaboklab(46.95% -0.0366 0.0813)
OKLCHoklch(46.95% 0.089 114.2)
XYZxyz(8.6213, 10.6283, 2.7595)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A601D #231D60
analogous
#60451D #5A601D #39601D
triadic
#5A601D #1D5A60 #601D5A
tetradic
#5A601D #1D6045 #231D60 #601D39
square
#5A601D #1D6045 #231D60 #601D39
split-complementary
#5A601D #1D3960 #451D60
monochromatic
#161807 #2E310F #5A601D #868F2B #B2BE39

Accessibility & contrast

On white

6.72
#5A601D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5A601D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A601D
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A601D#FFFFFF#000000##FFFFFF
##5A601D1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B14
Deuteranopia (green-blind)
#675C22
Tritanopia (blue-blind)
#605A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5a601d;
/* rgb */ color: rgb(90, 96, 29);
/* oklch */ color: oklch(46.9% 0.089 114.2);
Tailwind
colors: {
  custom: {
    50: '#8b8d5d',
    500: '#5a601d',
    950: '#000000',
  },
}
SCSS
$custom: #5a601d;
$custom-light: #8b8d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a601d",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 29
  },
  "hsl": {
    "h": 65.373,
    "s": 53.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46949,
    "c": 0.08919,
    "h": 114.2
  },
  "luminance": 0.10628
}

Semantic roles & 50–950 ramp

primary
#5A601D
secondary
#4B4495
accent
#4BDD58
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5A601D

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

Preview Lab → · Contrast checker → · Palette generator →

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