#5A5810#5A5810

#5A5810 is a dark, moderate yellow. Relative luminance 0.092; OKLCH L 44.8% C 0.089 H 107.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5A5810
RGBrgb(90, 88, 16)
HSLhsl(58, 70%, 21%)
HSVhsv(58, 82%, 35%)
CMYKcmyk(0%, 2.2%, 82.2%, 64.7%)
CIE-LABlab(36.35, -8.36, 38.81)
CIE-LCHlch(36.35, 39.70, 102.16°)
OKLaboklab(44.84% -0.0273 0.0848)
OKLCHoklch(44.84% 0.089 107.9)
XYZxyz(7.8000, 9.1908, 1.8532)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5810 #10125A
analogous
#5A3310 #5A5810 #375A10
triadic
#5A5810 #105A58 #58105A
tetradic
#5A5810 #105A33 #10125A #5A1037
square
#5A5810 #105A33 #10125A #5A1037
split-complementary
#5A5810 #10375A #33105A
monochromatic
#1A1905 #262507 #5A5810 #8E8B19 #C2BE22

Accessibility & contrast

On white

7.40
#5A5810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5A5810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5810
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5810#FFFFFF#000000##FFFFFF
##5A58101.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605401
Deuteranopia (green-blind)
#615716
Tritanopia (blue-blind)
#61524B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5a5810;
/* rgb */ color: rgb(90, 88, 16);
/* oklch */ color: oklch(44.8% 0.089 107.9);
Tailwind
colors: {
  custom: {
    50: '#8b8655',
    500: '#5a5810',
    950: '#000000',
  },
}
SCSS
$custom: #5a5810;
$custom-light: #8b8655;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5810",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 58.378,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44842,
    "c": 0.08906,
    "h": 107.9
  },
  "luminance": 0.09191
}

Semantic roles & 50–950 ramp

primary
#5A5810
secondary
#333593
accent
#40ED3B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5810

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

Preview Lab → · Contrast checker → · Palette generator →

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