#5A5B19#5A5B19

#5A5B19 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.7% C 0.086 H 110.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5A5B19
RGBrgb(90, 91, 25)
HSLhsl(61, 57%, 23%)
HSVhsv(61, 73%, 36%)
CMYKcmyk(1.1%, 0%, 72.5%, 64.3%)
CIE-LABlab(37.35, -9.61, 36.15)
CIE-LCHlch(37.35, 37.40, 104.89°)
OKLaboklab(45.66% -0.0298 0.0809)
OKLCHoklch(45.66% 0.086 110.2)
XYZxyz(8.1333, 9.7262, 2.3684)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5B19 #1A195B
analogous
#5B3B19 #5A5B19 #395B19
triadic
#5A5B19 #195A5B #5B195A
tetradic
#5A5B19 #195B3B #1A195B #5B1939
square
#5A5B19 #195B3B #1A195B #5B1939
split-complementary
#5A5B19 #19395B #3B195B
monochromatic
#181807 #2B2B0C #5A5B19 #898B26 #B9BB33

Accessibility & contrast

On white

7.13
#5A5B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5A5B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5B19
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5B19#FFFFFF#000000##FFFFFF
##5A5B191.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570F
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#61554E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5a5b19;
/* rgb */ color: rgb(90, 91, 25);
/* oklch */ color: oklch(45.7% 0.086 110.2);
Tailwind
colors: {
  custom: {
    50: '#8b895a',
    500: '#5a5b19',
    950: '#000000',
  },
}
SCSS
$custom: #5a5b19;
$custom-light: #8b895a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5b19",
  "rgb": {
    "r": 90,
    "g": 91,
    "b": 25
  },
  "hsl": {
    "h": 60.909,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45658,
    "c": 0.08627,
    "h": 110.2
  },
  "luminance": 0.09726
}

Semantic roles & 50–950 ramp

primary
#5A5B19
secondary
#403F91
accent
#48E04A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5A5B19

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

Preview Lab → · Contrast checker → · Palette generator →

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