#5A5D15#5A5D15

#5A5D15 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.97:1 contrast (WCAG AA passes).

Color values

HEX#5A5D15
RGBrgb(90, 93, 21)
HSLhsl(63, 63%, 22%)
HSVhsv(63, 77%, 36%)
CMYKcmyk(3.2%, 0%, 77.4%, 63.5%)
CIE-LABlab(37.94, -10.99, 38.41)
CIE-LCHlch(37.94, 39.95, 105.97°)
OKLaboklab(46.13% -0.0341 0.085)
OKLCHoklch(46.13% 0.092 111.9)
XYZxyz(8.2664, 10.0567, 2.2150)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5D15 #18155D
analogous
#5D3C15 #5A5D15 #365D15
triadic
#5A5D15 #155A5D #5D155A
tetradic
#5A5D15 #155D3C #18155D #5D1536
square
#5A5D15 #155D3C #18155D #5D1536
split-complementary
#5A5D15 #15365D #3C155D
monochromatic
#181906 #2A2B0A #5A5D15 #8A8F20 #BBC12C

Accessibility & contrast

On white

6.97
#5A5D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A5D15
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5D15#FFFFFF#000000##FFFFFF
##5A5D151.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a5d15;
/* rgb */ color: rgb(90, 93, 21);
/* oklch */ color: oklch(46.1% 0.092 111.9);
Tailwind
colors: {
  custom: {
    50: '#8b8a58',
    500: '#5a5d15',
    950: '#000000',
  },
}
SCSS
$custom: #5a5d15;
$custom-light: #8b8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5d15",
  "rgb": {
    "r": 90,
    "g": 93,
    "b": 21
  },
  "hsl": {
    "h": 62.5,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.09155,
    "h": 111.9
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#5A5D15
secondary
#3D3994
accent
#42E648
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5A5D15

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

Preview Lab → · Contrast checker → · Palette generator →

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