#5B5A10#5B5A10

#5B5A10 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.4% C 0.091 H 108.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5B5A10
RGBrgb(91, 90, 16)
HSLhsl(59, 70%, 21%)
HSVhsv(59, 82%, 36%)
CMYKcmyk(0%, 1.1%, 82.4%, 64.3%)
CIE-LABlab(37.07, -9.03, 39.50)
CIE-LCHlch(37.07, 40.52, 102.87°)
OKLaboklab(45.44% -0.0292 0.0862)
OKLCHoklch(45.44% 0.091 108.7)
XYZxyz(8.0644, 9.5741, 1.9133)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5A10 #10115B
analogous
#5B3410 #5B5A10 #365B10
triadic
#5B5A10 #105B5A #5A105B
tetradic
#5B5A10 #105B34 #10115B #5B1036
square
#5B5A10 #105B34 #10115B #5B1036
split-complementary
#5B5A10 #10365B #34105B
monochromatic
#1A1A05 #272707 #5B5A10 #8F8D19 #C3C122

Accessibility & contrast

On white

7.20
#5B5A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5B5A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5A10
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5A10#FFFFFF#000000##FFFFFF
##5B5A101.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#635816
Tritanopia (blue-blind)
#62544C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5b5a10;
/* rgb */ color: rgb(91, 90, 16);
/* oklch */ color: oklch(45.4% 0.091 108.7);
Tailwind
colors: {
  custom: {
    50: '#8c8856',
    500: '#5b5a10',
    950: '#000000',
  },
}
SCSS
$custom: #5b5a10;
$custom-light: #8c8856;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5a10",
  "rgb": {
    "r": 91,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 59.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45438,
    "c": 0.09101,
    "h": 108.7
  },
  "luminance": 0.09574
}

Semantic roles & 50–950 ramp

primary
#5B5A10
secondary
#333494
accent
#3DED3B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5A10

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

Preview Lab → · Contrast checker → · Palette generator →

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