#5A5910#5A5910

#5A5910 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.1% C 0.090 H 108.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5A5910
RGBrgb(90, 89, 16)
HSLhsl(59, 70%, 21%)
HSVhsv(59, 82%, 35%)
CMYKcmyk(0%, 1.1%, 82.2%, 64.7%)
CIE-LABlab(36.66, -8.94, 39.09)
CIE-LCHlch(36.66, 40.10, 102.88°)
OKLaboklab(45.09% -0.0289 0.0854)
OKLCHoklch(45.09% 0.09 108.7)
XYZxyz(7.8827, 9.3561, 1.8808)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5910 #10115A
analogous
#5A3410 #5A5910 #365A10
triadic
#5A5910 #105A59 #59105A
tetradic
#5A5910 #105A34 #10115A #5A1036
square
#5A5910 #105A34 #10115A #5A1036
split-complementary
#5A5910 #10365A #34105A
monochromatic
#1A1A05 #262607 #5A5910 #8E8C19 #C2C022

Accessibility & contrast

On white

7.31
#5A5910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5A5910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5910
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5910#FFFFFF#000000##FFFFFF
##5A59101.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615501
Deuteranopia (green-blind)
#625716
Tritanopia (blue-blind)
#61534B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5a5910;
/* rgb */ color: rgb(90, 89, 16);
/* oklch */ color: oklch(45.1% 0.090 108.7);
Tailwind
colors: {
  custom: {
    50: '#8b8755',
    500: '#5a5910',
    950: '#000000',
  },
}
SCSS
$custom: #5a5910;
$custom-light: #8b8755;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5910",
  "rgb": {
    "r": 90,
    "g": 89,
    "b": 16
  },
  "hsl": {
    "h": 59.189,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.45091,
    "c": 0.09014,
    "h": 108.7
  },
  "luminance": 0.09356
}

Semantic roles & 50–950 ramp

primary
#5A5910
secondary
#333493
accent
#3EED3B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5910

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

Preview Lab → · Contrast checker → · Palette generator →

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