#5A5B10#5A5B10

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

Color values

HEX#5A5B10
RGBrgb(90, 91, 16)
HSLhsl(61, 70%, 21%)
HSVhsv(61, 82%, 36%)
CMYKcmyk(1.1%, 0%, 82.4%, 64.3%)
CIE-LABlab(37.29, -10.09, 39.66)
CIE-LCHlch(37.29, 40.93, 104.28°)
OKLaboklab(45.59% -0.0321 0.0866)
OKLCHoklch(45.59% 0.092 110.4)
XYZxyz(8.0514, 9.6935, 1.9370)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5B10 #11105B
analogous
#5B3610 #5A5B10 #345B10
triadic
#5A5B10 #105A5B #5B105A
tetradic
#5A5B10 #105B36 #11105B #5B1034
square
#5A5B10 #105B36 #11105B #5B1034
split-complementary
#5A5B10 #10345B #36105B
monochromatic
#1A1A05 #272707 #5A5B10 #8D8F19 #C1C322

Accessibility & contrast

On white

7.15
#5A5B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A5B10
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5B10#FFFFFF#000000##FFFFFF
##5A5B101.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a5b10;
/* rgb */ color: rgb(90, 91, 16);
/* oklch */ color: oklch(45.6% 0.092 110.4);
Tailwind
colors: {
  custom: {
    50: '#8b8956',
    500: '#5a5b10',
    950: '#000000',
  },
}
SCSS
$custom: #5a5b10;
$custom-light: #8b8956;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5b10",
  "rgb": {
    "r": 90,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 60.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45591,
    "c": 0.09236,
    "h": 110.4
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#5A5B10
secondary
#343394
accent
#3BED3D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5B10

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

Preview Lab → · Contrast checker → · Palette generator →

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