#5A5E11#5A5E11

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

Color values

HEX#5A5E11
RGBrgb(90, 94, 17)
HSLhsl(63, 69%, 22%)
HSVhsv(63, 82%, 37%)
CMYKcmyk(4.3%, 0%, 81.9%, 63.1%)
CIE-LABlab(38.23, -11.76, 40.18)
CIE-LCHlch(38.23, 41.86, 106.31°)
OKLaboklab(46.35% -0.0366 0.0879)
OKLCHoklch(46.35% 0.095 112.6)
XYZxyz(8.3206, 10.2197, 2.0645)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5E11 #15115E
analogous
#5E3C11 #5A5E11 #345E11
triadic
#5A5E11 #115A5E #5E115A
tetradic
#5A5E11 #115E3C #15115E #5E1134
square
#5A5E11 #115E3C #15115E #5E1134
split-complementary
#5A5E11 #11345E #3C115E
monochromatic
#191A05 #282A08 #5A5E11 #8C921A #BDC624

Accessibility & contrast

On white

6.90
#5A5E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5A5E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5E11
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5E11#FFFFFF#000000##FFFFFF
##5A5E111.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a5e11;
/* rgb */ color: rgb(90, 94, 17);
/* oklch */ color: oklch(46.4% 0.095 112.6);
Tailwind
colors: {
  custom: {
    50: '#8b8b57',
    500: '#5a5e11',
    950: '#000000',
  },
}
SCSS
$custom: #5a5e11;
$custom-light: #8b8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5e11",
  "rgb": {
    "r": 90,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 63.117,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46351,
    "c": 0.09523,
    "h": 112.6
  },
  "luminance": 0.1022
}

Semantic roles & 50–950 ramp

primary
#5A5E11
secondary
#393497
accent
#3CEC45
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5A5E11

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

Preview Lab → · Contrast checker → · Palette generator →

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