#5A601E#5A601E

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

Color values

HEX#5A601E
RGBrgb(90, 96, 30)
HSLhsl(65, 52%, 25%)
HSVhsv(65, 69%, 38%)
CMYKcmyk(6.2%, 0%, 68.7%, 62.4%)
CIE-LABlab(38.96, -12.12, 35.54)
CIE-LCHlch(38.96, 37.55, 108.82°)
OKLaboklab(46.96% -0.0363 0.0806)
OKLCHoklch(46.96% 0.088 114.2)
XYZxyz(8.6339, 10.6333, 2.8257)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A601E #241E60
analogous
#60451E #5A601E #39601E
triadic
#5A601E #1E5A60 #601E5A
tetradic
#5A601E #1E6045 #241E60 #601E39
square
#5A601E #1E6045 #241E60 #601E39
split-complementary
#5A601E #1E3960 #451E60
monochromatic
#161707 #2E310F #5A601E #868F2D #B1BD3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A601E#FFFFFF#000000##FFFFFF
##5A601E1.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)
#675B15
Deuteranopia (green-blind)
#675C22
Tritanopia (blue-blind)
#605A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5a601e;
/* rgb */ color: rgb(90, 96, 30);
/* oklch */ color: oklch(47.0% 0.088 114.2);
Tailwind
colors: {
  custom: {
    50: '#8b8d5e',
    500: '#5a601e',
    950: '#000000',
  },
}
SCSS
$custom: #5a601e;
$custom-light: #8b8d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a601e",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 30
  },
  "hsl": {
    "h": 65.455,
    "s": 52.381,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46959,
    "c": 0.08835,
    "h": 114.2
  },
  "luminance": 0.10633
}

Semantic roles & 50–950 ramp

primary
#5A601E
secondary
#4C4595
accent
#4CDC59
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5A601E

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

Preview Lab → · Contrast checker → · Palette generator →

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