#5C5A10#5C5A10

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

Color values

HEX#5C5A10
RGBrgb(92, 90, 16)
HSLhsl(58, 70%, 21%)
HSVhsv(58, 83%, 36%)
CMYKcmyk(0%, 2.2%, 82.6%, 63.9%)
CIE-LABlab(37.16, -8.54, 39.62)
CIE-LCHlch(37.16, 40.53, 102.16°)
OKLaboklab(45.54% -0.0279 0.0864)
OKLCHoklch(45.54% 0.091 107.9)
XYZxyz(8.1637, 9.6253, 1.9180)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5A10 #10125C
analogous
#5C3410 #5C5A10 #385C10
triadic
#5C5A10 #105C5A #5A105C
tetradic
#5C5A10 #105C34 #10125C #5C1038
square
#5C5A10 #105C34 #10125C #5C1038
split-complementary
#5C5A10 #10385C #34105C
monochromatic
#1A1905 #282707 #5C5A10 #908D19 #C4C022

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C5A10#FFFFFF#000000##FFFFFF
##5C5A101.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)
#625600
Deuteranopia (green-blind)
#645916
Tritanopia (blue-blind)
#63534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c5a10;
/* rgb */ color: rgb(92, 90, 16);
/* oklch */ color: oklch(45.5% 0.091 107.9);
Tailwind
colors: {
  custom: {
    50: '#8d8856',
    500: '#5c5a10',
    950: '#000000',
  },
}
SCSS
$custom: #5c5a10;
$custom-light: #8d8856;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5a10",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 58.421,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45536,
    "c": 0.09081,
    "h": 107.9
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#5C5A10
secondary
#333595
accent
#3FED3B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5C5A10

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

Preview Lab → · Contrast checker → · Palette generator →

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