#5A5E16#5A5E16

#5A5E16 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.4% C 0.092 H 112.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5A5E16
RGBrgb(90, 94, 22)
HSLhsl(63, 62%, 23%)
HSVhsv(63, 77%, 37%)
CMYKcmyk(4.3%, 0%, 76.6%, 63.1%)
CIE-LABlab(38.26, -11.50, 38.32)
CIE-LCHlch(38.26, 40.01, 106.71°)
OKLaboklab(46.39% -0.0354 0.085)
OKLCHoklch(46.39% 0.092 112.6)
XYZxyz(8.3642, 10.2372, 2.2943)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5E16 #1A165E
analogous
#5E3E16 #5A5E16 #365E16
triadic
#5A5E16 #165A5E #5E165A
tetradic
#5A5E16 #165E3E #1A165E #5E1636
square
#5A5E16 #165E3E #1A165E #5E1636
split-complementary
#5A5E16 #16365E #3E165E
monochromatic
#181906 #2B2C0A #5A5E16 #899022 #B9C12D

Accessibility & contrast

On white

6.89
#5A5E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5A5E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5E16
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5E16#FFFFFF#000000##FFFFFF
##5A5E161.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665909
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#615850
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5a5e16;
/* rgb */ color: rgb(90, 94, 22);
/* oklch */ color: oklch(46.4% 0.092 112.6);
Tailwind
colors: {
  custom: {
    50: '#8b8b59',
    500: '#5a5e16',
    950: '#000000',
  },
}
SCSS
$custom: #5a5e16;
$custom-light: #8b8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5e16",
  "rgb": {
    "r": 90,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 63.333,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46385,
    "c": 0.09206,
    "h": 112.6
  },
  "luminance": 0.10237
}

Semantic roles & 50–950 ramp

primary
#5A5E16
secondary
#403B95
accent
#43E54C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5A5E16

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

Preview Lab → · Contrast checker → · Palette generator →

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