#5A5710#5A5710

#5A5710 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.6% C 0.088 H 107.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5A5710
RGBrgb(90, 87, 16)
HSLhsl(58, 70%, 21%)
HSVhsv(58, 82%, 35%)
CMYKcmyk(0%, 3.3%, 82.2%, 64.7%)
CIE-LABlab(36.04, -7.78, 38.53)
CIE-LCHlch(36.04, 39.30, 101.41°)
OKLaboklab(44.59% -0.0257 0.0842)
OKLCHoklch(44.59% 0.088 107)
XYZxyz(7.7185, 9.0277, 1.8261)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5710 #10135A
analogous
#5A3210 #5A5710 #385A10
triadic
#5A5710 #105A57 #57105A
tetradic
#5A5710 #105A32 #10135A #5A1038
square
#5A5710 #105A32 #10135A #5A1038
split-complementary
#5A5710 #10385A #32105A
monochromatic
#1A1905 #262507 #5A5710 #8E8919 #C2BB22

Accessibility & contrast

On white

7.49
#5A5710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5A5710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5710
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5710#FFFFFF#000000##FFFFFF
##5A57101.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5302
Deuteranopia (green-blind)
#615616
Tritanopia (blue-blind)
#61514A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5a5710;
/* rgb */ color: rgb(90, 87, 16);
/* oklch */ color: oklch(44.6% 0.088 107.0);
Tailwind
colors: {
  custom: {
    50: '#8b8655',
    500: '#5a5710',
    950: '#000000',
  },
}
SCSS
$custom: #5a5710;
$custom-light: #8b8655;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5710",
  "rgb": {
    "r": 90,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 57.568,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44593,
    "c": 0.088,
    "h": 107
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

primary
#5A5710
secondary
#333693
accent
#42ED3B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5710

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

Preview Lab → · Contrast checker → · Palette generator →

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