#5C5110#5C5110

#5C5110 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.3% C 0.082 H 99.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5C5110
RGBrgb(92, 81, 16)
HSLhsl(51, 70%, 21%)
HSVhsv(51, 83%, 36%)
CMYKcmyk(0%, 12%, 82.6%, 63.9%)
CIE-LABlab(34.39, -3.23, 37.09)
CIE-LCHlch(34.39, 37.23, 94.97°)
OKLaboklab(43.33% -0.013 0.081)
OKLCHoklch(43.33% 0.082 99.1)
XYZxyz(7.4500, 8.1980, 1.6801)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5110 #101B5C
analogous
#5C2B10 #5C5110 #415C10
triadic
#5C5110 #105C51 #51105C
tetradic
#5C5110 #105C2B #101B5C #5C1041
square
#5C5110 #105C2B #101B5C #5C1041
split-complementary
#5C5110 #10415C #2B105C
monochromatic
#1A1705 #282307 #5C5110 #907F19 #C4AD22

Accessibility & contrast

On white

7.96
#5C5110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5C5110 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5110
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5110#FFFFFF#000000##FFFFFF
##5C51101.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F04
Deuteranopia (green-blind)
#5D5315
Tritanopia (blue-blind)
#644A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c5110;
/* rgb */ color: rgb(92, 81, 16);
/* oklch */ color: oklch(43.3% 0.082 99.1);
Tailwind
colors: {
  custom: {
    50: '#8d8154',
    500: '#5c5110',
    950: '#000000',
  },
}
SCSS
$custom: #5c5110;
$custom-light: #8d8154;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5110",
  "rgb": {
    "r": 92,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 51.316,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43333,
    "c": 0.08204,
    "h": 99.1
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#5C5110
secondary
#334195
accent
#54ED3B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C5110

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

Preview Lab → · Contrast checker → · Palette generator →

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