#5C5010#5C5010

#5C5010 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.1% C 0.081 H 98.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#5C5010
RGBrgb(92, 80, 16)
HSLhsl(51, 70%, 21%)
HSVhsv(51, 83%, 36%)
CMYKcmyk(0%, 13%, 82.6%, 63.9%)
CIE-LABlab(34.09, -2.62, 36.81)
CIE-LCHlch(34.09, 36.90, 94.08°)
OKLaboklab(43.09% -0.0113 0.0804)
OKLCHoklch(43.09% 0.081 98)
XYZxyz(7.3762, 8.0504, 1.6555)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5010 #101C5C
analogous
#5C2A10 #5C5010 #425C10
triadic
#5C5010 #105C50 #50105C
tetradic
#5C5010 #105C2A #101C5C #5C1042
square
#5C5010 #105C2A #101C5C #5C1042
split-complementary
#5C5010 #10425C #2A105C
monochromatic
#1A1705 #282307 #5C5010 #907D19 #C4AB22

Accessibility & contrast

On white

8.05
#5C5010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5C5010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5010
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5010#FFFFFF#000000##FFFFFF
##5C50101.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E04
Deuteranopia (green-blind)
#5C5214
Tritanopia (blue-blind)
#644944
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c5010;
/* rgb */ color: rgb(92, 80, 16);
/* oklch */ color: oklch(43.1% 0.081 98.0);
Tailwind
colors: {
  custom: {
    50: '#8d8054',
    500: '#5c5010',
    950: '#000000',
  },
}
SCSS
$custom: #5c5010;
$custom-light: #8d8054;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5010",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 50.526,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43092,
    "c": 0.0812,
    "h": 98
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#5C5010
secondary
#334295
accent
#57ED3B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C5010

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

Preview Lab → · Contrast checker → · Palette generator →

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