#5A5B13#5A5B13

#5A5B13 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.6% C 0.091 H 110.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5A5B13
RGBrgb(90, 91, 19)
HSLhsl(61, 65%, 22%)
HSVhsv(61, 79%, 36%)
CMYKcmyk(1.1%, 0%, 79.1%, 64.3%)
CIE-LABlab(37.30, -9.95, 38.58)
CIE-LCHlch(37.30, 39.84, 104.46°)
OKLaboklab(45.61% -0.0314 0.0849)
OKLCHoklch(45.61% 0.091 110.3)
XYZxyz(8.0754, 9.7031, 2.0635)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5B13 #14135B
analogous
#5B3813 #5A5B13 #365B13
triadic
#5A5B13 #135A5B #5B135A
tetradic
#5A5B13 #135B38 #14135B #5B1336
square
#5A5B13 #135B38 #14135B #5B1336
split-complementary
#5A5B13 #13365B #38135B
monochromatic
#191905 #282808 #5A5B13 #8C8E1E #BEC028

Accessibility & contrast

On white

7.14
#5A5B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5A5B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5B13
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5B13#FFFFFF#000000##FFFFFF
##5A5B131.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635705
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#61554D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5a5b13;
/* rgb */ color: rgb(90, 91, 19);
/* oklch */ color: oklch(45.6% 0.091 110.3);
Tailwind
colors: {
  custom: {
    50: '#8b8957',
    500: '#5a5b13',
    950: '#000000',
  },
}
SCSS
$custom: #5a5b13;
$custom-light: #8b8957;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5b13",
  "rgb": {
    "r": 90,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 60.833,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4561,
    "c": 0.09054,
    "h": 110.3
  },
  "luminance": 0.09703
}

Semantic roles & 50–950 ramp

primary
#5A5B13
secondary
#383793
accent
#3FE842
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5B13

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

Preview Lab → · Contrast checker → · Palette generator →

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