#5C5A11#5C5A11

#5C5A11 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.5% C 0.090 H 107.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5C5A11
RGBrgb(92, 90, 17)
HSLhsl(58, 69%, 21%)
HSVhsv(58, 82%, 36%)
CMYKcmyk(0%, 2.2%, 81.5%, 63.9%)
CIE-LABlab(37.17, -8.49, 39.27)
CIE-LCHlch(37.17, 40.18, 102.20°)
OKLaboklab(45.54% -0.0277 0.0859)
OKLCHoklch(45.54% 0.09 107.9)
XYZxyz(8.1713, 9.6284, 1.9582)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5A11 #11135C
analogous
#5C3511 #5C5A11 #395C11
triadic
#5C5A11 #115C5A #5A115C
tetradic
#5C5A11 #115C35 #11135C #5C1139
square
#5C5A11 #115C35 #11135C #5C1139
split-complementary
#5C5A11 #11395C #35115C
monochromatic
#1A1905 #282707 #5C5A11 #908D1B #C3BF24

Accessibility & contrast

On white

7.18
#5C5A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5C5A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5A11
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5A11#FFFFFF#000000##FFFFFF
##5C5A111.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c5a11;
/* rgb */ color: rgb(92, 90, 17);
/* oklch */ color: oklch(45.5% 0.090 107.9);
Tailwind
colors: {
  custom: {
    50: '#8d8856',
    500: '#5c5a11',
    950: '#000000',
  },
}
SCSS
$custom: #5c5a11;
$custom-light: #8d8856;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5a11",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 58.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.09022,
    "h": 107.9
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#5C5A11
secondary
#343795
accent
#41EC3C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5C5A11

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

Preview Lab → · Contrast checker → · Palette generator →

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