#5C5810#5C5810

#5C5810 is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.0% C 0.089 H 106.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5C5810
RGBrgb(92, 88, 16)
HSLhsl(57, 70%, 21%)
HSVhsv(57, 83%, 36%)
CMYKcmyk(0%, 4.3%, 82.6%, 63.9%)
CIE-LABlab(36.54, -7.37, 39.06)
CIE-LCHlch(36.54, 39.75, 100.69°)
OKLaboklab(45.04% -0.0247 0.0852)
OKLCHoklch(45.04% 0.089 106.1)
XYZxyz(7.9972, 9.2925, 1.8625)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5810 #10145C
analogous
#5C3210 #5C5810 #3A5C10
triadic
#5C5810 #105C58 #58105C
tetradic
#5C5810 #105C32 #10145C #5C103A
square
#5C5810 #105C32 #10145C #5C103A
split-complementary
#5C5810 #103A5C #32105C
monochromatic
#1A1905 #282607 #5C5810 #908A19 #C4BC22

Accessibility & contrast

On white

7.35
#5C5810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5C5810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5810
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5810#FFFFFF#000000##FFFFFF
##5C58101.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605401
Deuteranopia (green-blind)
#625716
Tritanopia (blue-blind)
#63514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c5810;
/* rgb */ color: rgb(92, 88, 16);
/* oklch */ color: oklch(45.0% 0.089 106.1);
Tailwind
colors: {
  custom: {
    50: '#8d8655',
    500: '#5c5810',
    950: '#000000',
  },
}
SCSS
$custom: #5c5810;
$custom-light: #8d8655;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5810",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 56.842,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45042,
    "c": 0.0887,
    "h": 106.1
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#5C5810
secondary
#333895
accent
#44ED3B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5C5810

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

Preview Lab → · Contrast checker → · Palette generator →

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