#5A4E10#5A4E10

#5A4E10 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.4% C 0.079 H 97.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5A4E10
RGBrgb(90, 78, 16)
HSLhsl(50, 70%, 21%)
HSVhsv(50, 82%, 35%)
CMYKcmyk(0%, 13.3%, 82.2%, 64.7%)
CIE-LABlab(33.26, -2.42, 35.97)
CIE-LCHlch(33.26, 36.05, 93.85°)
OKLaboklab(42.39% -0.0106 0.0787)
OKLCHoklch(42.39% 0.079 97.7)
XYZxyz(7.0347, 7.6602, 1.5981)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E10 #101C5A
analogous
#5A2910 #5A4E10 #415A10
triadic
#5A4E10 #105A4E #4E105A
tetradic
#5A4E10 #105A29 #101C5A #5A1041
square
#5A4E10 #105A29 #101C5A #5A1041
split-complementary
#5A4E10 #10415A #29105A
monochromatic
#1A1705 #262107 #5A4E10 #8E7B19 #C2A822

Accessibility & contrast

On white

8.29
#5A4E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5A4E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4E10
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E10#FFFFFF#000000##FFFFFF
##5A4E101.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C05
Deuteranopia (green-blind)
#5A5014
Tritanopia (blue-blind)
#624742
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a4e10;
/* rgb */ color: rgb(90, 78, 16);
/* oklch */ color: oklch(42.4% 0.079 97.7);
Tailwind
colors: {
  custom: {
    50: '#8c7f54',
    500: '#5a4e10',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e10;
$custom-light: #8c7f54;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e10",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 16
  },
  "hsl": {
    "h": 50.27,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4239,
    "c": 0.07943,
    "h": 97.7
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#5A4E10
secondary
#334293
accent
#58ED3B
background
#F8F7F5
surface
#F0EEE8
border
#CBC9C4
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A4E10

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

Preview Lab → · Contrast checker → · Palette generator →

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