#5C5A13#5C5A13

#5C5A13 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.6% C 0.089 H 107.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5C5A13
RGBrgb(92, 90, 19)
HSLhsl(58, 66%, 22%)
HSVhsv(58, 79%, 36%)
CMYKcmyk(0%, 2.2%, 79.3%, 63.9%)
CIE-LABlab(37.18, -8.40, 38.53)
CIE-LCHlch(37.18, 39.43, 102.29°)
OKLaboklab(45.56% -0.0272 0.0847)
OKLCHoklch(45.56% 0.089 107.8)
XYZxyz(8.1877, 9.6349, 2.0444)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5A13 #13155C
analogous
#5C3613 #5C5A13 #3A5C13
triadic
#5C5A13 #135C5A #5A135C
tetradic
#5C5A13 #135C36 #13155C #5C133A
square
#5C5A13 #135C36 #13155C #5C133A
split-complementary
#5C5A13 #133A5C #36135C
monochromatic
#191905 #292809 #5C5A13 #8F8C1D #C1BD28

Accessibility & contrast

On white

7.17
#5C5A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C5A13
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5A13#FFFFFF#000000##FFFFFF
##5C5A131.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c5a13;
/* rgb */ color: rgb(92, 90, 19);
/* oklch */ color: oklch(45.6% 0.089 107.8);
Tailwind
colors: {
  custom: {
    50: '#8d8857',
    500: '#5c5a13',
    950: '#000000',
  },
}
SCSS
$custom: #5c5a13;
$custom-light: #8d8857;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5a13",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 58.356,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45556,
    "c": 0.08899,
    "h": 107.8
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#5C5A13
secondary
#373994
accent
#44E93F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5C5A13

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

Preview Lab → · Contrast checker → · Palette generator →

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