#5A5110#5A5110

#5A5110 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.1% C 0.082 H 101.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#5A5110
RGBrgb(90, 81, 16)
HSLhsl(53, 70%, 21%)
HSVhsv(53, 82%, 35%)
CMYKcmyk(0%, 10%, 82.2%, 64.7%)
CIE-LABlab(34.18, -4.23, 36.82)
CIE-LCHlch(34.18, 37.06, 96.55°)
OKLaboklab(43.12% -0.0157 0.0805)
OKLCHoklch(43.12% 0.082 101)
XYZxyz(7.2528, 8.0963, 1.6708)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5110 #10195A
analogous
#5A2C10 #5A5110 #3E5A10
triadic
#5A5110 #105A51 #51105A
tetradic
#5A5110 #105A2C #10195A #5A103E
square
#5A5110 #105A2C #10195A #5A103E
split-complementary
#5A5110 #103E5A #2C105A
monochromatic
#1A1705 #262207 #5A5110 #8E8019 #C2AF22

Accessibility & contrast

On white

8.02
#5A5110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5A5110 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5110
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5110#FFFFFF#000000##FFFFFF
##5A51101.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E04
Deuteranopia (green-blind)
#5C5215
Tritanopia (blue-blind)
#624A45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5a5110;
/* rgb */ color: rgb(90, 81, 16);
/* oklch */ color: oklch(43.1% 0.082 101.0);
Tailwind
colors: {
  custom: {
    50: '#8c8154',
    500: '#5a5110',
    950: '#000000',
  },
}
SCSS
$custom: #5a5110;
$custom-light: #8c8154;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5110",
  "rgb": {
    "r": 90,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 52.703,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.43117,
    "c": 0.08205,
    "h": 101
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

primary
#5A5110
secondary
#333E93
accent
#51ED3B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A5110

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

Preview Lab → · Contrast checker → · Palette generator →

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