#5A601C#5A601C

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

Color values

HEX#5A601C
RGBrgb(90, 96, 28)
HSLhsl(65, 55%, 24%)
HSVhsv(65, 71%, 38%)
CMYKcmyk(6.2%, 0%, 70.8%, 62.4%)
CIE-LABlab(38.94, -12.26, 36.43)
CIE-LCHlch(38.94, 38.44, 108.59°)
OKLaboklab(46.94% -0.0369 0.0821)
OKLCHoklch(46.94% 0.09 114.2)
XYZxyz(8.6091, 10.6234, 2.6954)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A601C #221C60
analogous
#60441C #5A601C #38601C
triadic
#5A601C #1C5A60 #601C5A
tetradic
#5A601C #1C6044 #221C60 #601C38
square
#5A601C #1C6044 #221C60 #601C38
split-complementary
#5A601C #1C3860 #441C60
monochromatic
#161807 #2E310E #5A601C #868F2A #B3BF38

Accessibility & contrast

On white

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

On black

3.12
#5A601C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5A601C#FFFFFF#000000##FFFFFF
##5A601C1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a601c;
/* rgb */ color: rgb(90, 96, 28);
/* oklch */ color: oklch(46.9% 0.090 114.2);
Tailwind
colors: {
  custom: {
    50: '#8b8d5d',
    500: '#5a601c',
    950: '#000000',
  },
}
SCSS
$custom: #5a601c;
$custom-light: #8b8d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a601c",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 28
  },
  "hsl": {
    "h": 65.294,
    "s": 54.839,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46939,
    "c": 0.09001,
    "h": 114.2
  },
  "luminance": 0.10623
}

Semantic roles & 50–950 ramp

primary
#5A601C
secondary
#4A4295
accent
#4ADE57
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5A601C

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

Preview Lab → · Contrast checker → · Palette generator →

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