#5B601A#5B601A

#5B601A is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.0% C 0.091 H 113.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5B601A
RGBrgb(91, 96, 26)
HSLhsl(64, 57%, 24%)
HSVhsv(64, 73%, 38%)
CMYKcmyk(5.2%, 0%, 72.9%, 62.4%)
CIE-LABlab(39.01, -11.91, 37.41)
CIE-LCHlch(39.01, 39.26, 107.66°)
OKLaboklab(47.01% -0.0362 0.0838)
OKLCHoklch(47.01% 0.091 113.4)
XYZxyz(8.6840, 10.6646, 2.5781)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B601A #1F1A60
analogous
#60421A #5B601A #38601A
triadic
#5B601A #1A5B60 #601A5B
tetradic
#5B601A #1A6042 #1F1A60 #601A38
square
#5B601A #1A6042 #1F1A60 #601A38
split-complementary
#5B601A #1A3860 #421A60
monochromatic
#171807 #2D300D #5B601A #899027 #B6C034

Accessibility & contrast

On white

6.70
#5B601A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B601A
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B601A#FFFFFF#000000##FFFFFF
##5B601A1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0F
Deuteranopia (green-blind)
#675D1F
Tritanopia (blue-blind)
#615A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b601a;
/* rgb */ color: rgb(91, 96, 26);
/* oklch */ color: oklch(47.0% 0.091 113.4);
Tailwind
colors: {
  custom: {
    50: '#8c8d5b',
    500: '#5b601a',
    950: '#000000',
  },
}
SCSS
$custom: #5b601a;
$custom-light: #8c8d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b601a",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 26
  },
  "hsl": {
    "h": 64.286,
    "s": 57.377,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47013,
    "c": 0.09127,
    "h": 113.4
  },
  "luminance": 0.10664
}

Semantic roles & 50–950 ramp

primary
#5B601A
secondary
#464096
accent
#47E152
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B601A

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

Preview Lab → · Contrast checker → · Palette generator →

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