#5A5A11#5A5A11

#5A5A11 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.3% C 0.091 H 109.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5A5A11
RGBrgb(90, 90, 17)
HSLhsl(60, 68%, 21%)
HSVhsv(60, 81%, 35%)
CMYKcmyk(0%, 0%, 81.1%, 64.7%)
CIE-LABlab(36.98, -9.47, 39.03)
CIE-LCHlch(36.98, 40.16, 103.64°)
OKLaboklab(45.35% -0.0303 0.0854)
OKLCHoklch(45.35% 0.091 109.5)
XYZxyz(7.9741, 9.5267, 1.9490)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5A11 #11115A
analogous
#5A3511 #5A5A11 #355A11
triadic
#5A5A11 #115A5A #5A115A
tetradic
#5A5A11 #115A35 #11115A #5A1135
square
#5A5A11 #115A35 #11115A #5A1135
split-complementary
#5A5A11 #11355A #35115A
monochromatic
#1A1A05 #272707 #5A5A11 #8D8D1B #C1C124

Accessibility & contrast

On white

7.23
#5A5A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5A5A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5A11
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5A11#FFFFFF#000000##FFFFFF
##5A5A111.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625602
Deuteranopia (green-blind)
#635817
Tritanopia (blue-blind)
#61544C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5a5a11;
/* rgb */ color: rgb(90, 90, 17);
/* oklch */ color: oklch(45.3% 0.091 109.5);
Tailwind
colors: {
  custom: {
    50: '#8b8856',
    500: '#5a5a11',
    950: '#000000',
  },
}
SCSS
$custom: #5a5a11;
$custom-light: #8b8856;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5a11",
  "rgb": {
    "r": 90,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 60,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45347,
    "c": 0.09065,
    "h": 109.5
  },
  "luminance": 0.09526
}

Semantic roles & 50–950 ramp

primary
#5A5A11
secondary
#343493
accent
#3DEB3D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5A11

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

Preview Lab → · Contrast checker → · Palette generator →

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