#5C5811#5C5811

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

Color values

HEX#5C5811
RGBrgb(92, 88, 17)
HSLhsl(57, 69%, 21%)
HSVhsv(57, 82%, 36%)
CMYKcmyk(0%, 4.3%, 81.5%, 63.9%)
CIE-LABlab(36.55, -7.33, 38.70)
CIE-LCHlch(36.55, 39.39, 100.72°)
OKLaboklab(45.05% -0.0244 0.0847)
OKLCHoklch(45.05% 0.088 106.1)
XYZxyz(8.0049, 9.2955, 1.9028)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5811 #11155C
analogous
#5C3311 #5C5811 #3B5C11
triadic
#5C5811 #115C58 #58115C
tetradic
#5C5811 #115C33 #11155C #5C113B
square
#5C5811 #115C33 #11155C #5C113B
split-complementary
#5C5811 #113B5C #33115C
monochromatic
#1A1905 #282707 #5C5811 #90891B #C3BB24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C5811#FFFFFF#000000##FFFFFF
##5C58111.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)
#605403
Deuteranopia (green-blind)
#625717
Tritanopia (blue-blind)
#63514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c5811;
/* rgb */ color: rgb(92, 88, 17);
/* oklch */ color: oklch(45.0% 0.088 106.1);
Tailwind
colors: {
  custom: {
    50: '#8d8656',
    500: '#5c5811',
    950: '#000000',
  },
}
SCSS
$custom: #5c5811;
$custom-light: #8d8656;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5811",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 56.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45048,
    "c": 0.0881,
    "h": 106.1
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#5C5811
secondary
#343995
accent
#46EC3C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5C5811

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

Preview Lab → · Contrast checker → · Palette generator →

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