#5A5D14#5A5D14

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

Color values

HEX#5A5D14
RGBrgb(90, 93, 20)
HSLhsl(62, 65%, 22%)
HSVhsv(62, 78%, 36%)
CMYKcmyk(3.2%, 0%, 78.5%, 63.5%)
CIE-LABlab(37.94, -11.04, 38.80)
CIE-LCHlch(37.94, 40.34, 105.89°)
OKLaboklab(46.12% -0.0344 0.0856)
OKLCHoklch(46.12% 0.092 111.9)
XYZxyz(8.2573, 10.0531, 2.1671)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5D14 #17145D
analogous
#5D3C14 #5A5D14 #365D14
triadic
#5A5D14 #145A5D #5D145A
tetradic
#5A5D14 #145D3C #17145D #5D1436
square
#5A5D14 #145D3C #17145D #5D1436
split-complementary
#5A5D14 #14365D #3C145D
monochromatic
#181905 #292B09 #5A5D14 #8B8F1F #BBC22A

Accessibility & contrast

On white

6.98
#5A5D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A5D14
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5D14#FFFFFF#000000##FFFFFF
##5A5D141.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a5d14;
/* rgb */ color: rgb(90, 93, 20);
/* oklch */ color: oklch(46.1% 0.092 111.9);
Tailwind
colors: {
  custom: {
    50: '#8b8a58',
    500: '#5a5d14',
    950: '#000000',
  },
}
SCSS
$custom: #5a5d14;
$custom-light: #8b8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5d14",
  "rgb": {
    "r": 90,
    "g": 93,
    "b": 20
  },
  "hsl": {
    "h": 62.466,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46119,
    "c": 0.09221,
    "h": 111.9
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#5A5D14
secondary
#3C3895
accent
#40E847
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5D14

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

Preview Lab → · Contrast checker → · Palette generator →

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