#5A5D0D#5A5D0D

#5A5D0D is a mid, moderate yellow. Relative luminance 0.100; OKLCH L 46.1% C 0.096 H 111.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5A5D0D
RGBrgb(90, 93, 13)
HSLhsl(62, 75%, 21%)
HSVhsv(62, 86%, 36%)
CMYKcmyk(3.2%, 0%, 86%, 63.5%)
CIE-LABlab(37.90, -11.36, 41.19)
CIE-LCHlch(37.90, 42.73, 105.41°)
OKLaboklab(46.08% -0.0359 0.0893)
OKLCHoklch(46.08% 0.096 111.9)
XYZxyz(8.2037, 10.0316, 1.8848)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5D0D #100D5D
analogous
#5D380D #5A5D0D #325D0D
triadic
#5A5D0D #0D5A5D #5D0D5A
tetradic
#5A5D0D #0D5D38 #100D5D #5D0D32
square
#5A5D0D #0D5D38 #100D5D #5D0D32
split-complementary
#5A5D0D #0D325D #380D5D
monochromatic
#1A1B04 #262705 #5A5D0D #8E9315 #C2C81C

Accessibility & contrast

On white

6.99
#5A5D0D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5A5D0D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5D0D
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5D0D#FFFFFF#000000##FFFFFF
##5A5D0D1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#655A15
Tritanopia (blue-blind)
#61574F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5a5d0d;
/* rgb */ color: rgb(90, 93, 13);
/* oklch */ color: oklch(46.1% 0.096 111.9);
Tailwind
colors: {
  custom: {
    50: '#8c8a55',
    500: '#5a5d0d',
    950: '#000000',
  },
}
SCSS
$custom: #5a5d0d;
$custom-light: #8c8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5d0d",
  "rgb": {
    "r": 90,
    "g": 93,
    "b": 13
  },
  "hsl": {
    "h": 62.25,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.46076,
    "c": 0.0962,
    "h": 111.9
  },
  "luminance": 0.10031
}

Semantic roles & 50–950 ramp

primary
#5A5D0D
secondary
#332F97
accent
#36F23D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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