#5A601A#5A601A

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

Color values

HEX#5A601A
RGBrgb(90, 96, 26)
HSLhsl(65, 57%, 24%)
HSVhsv(65, 73%, 38%)
CMYKcmyk(6.2%, 0%, 72.9%, 62.4%)
CIE-LABlab(38.92, -12.39, 37.30)
CIE-LCHlch(38.92, 39.30, 108.37°)
OKLaboklab(46.92% -0.0375 0.0836)
OKLCHoklch(46.92% 0.092 114.2)
XYZxyz(8.5860, 10.6141, 2.5735)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A601A #201A60
analogous
#60431A #5A601A #37601A
triadic
#5A601A #1A5A60 #601A5A
tetradic
#5A601A #1A6043 #201A60 #601A37
square
#5A601A #1A6043 #201A60 #601A37
split-complementary
#5A601A #1A3760 #431A60
monochromatic
#171807 #2D300D #5A601A #879027 #B4C034

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A601A#FFFFFF#000000##FFFFFF
##5A601A1.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)
#675B0F
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#605A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5a601a;
/* rgb */ color: rgb(90, 96, 26);
/* oklch */ color: oklch(46.9% 0.092 114.2);
Tailwind
colors: {
  custom: {
    50: '#8b8d5b',
    500: '#5a601a',
    950: '#000000',
  },
}
SCSS
$custom: #5a601a;
$custom-light: #8b8d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a601a",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 26
  },
  "hsl": {
    "h": 65.143,
    "s": 57.377,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46922,
    "c": 0.09159,
    "h": 114.2
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

primary
#5A601A
secondary
#474096
accent
#47E154
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5A601A

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

Preview Lab → · Contrast checker → · Palette generator →

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