#5C5911#5C5911

#5C5911 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.3% C 0.089 H 107.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5C5911
RGBrgb(92, 89, 17)
HSLhsl(58, 69%, 21%)
HSVhsv(58, 82%, 36%)
CMYKcmyk(0%, 3.3%, 81.5%, 63.9%)
CIE-LABlab(36.86, -7.91, 38.98)
CIE-LCHlch(36.86, 39.78, 101.47°)
OKLaboklab(45.3% -0.0261 0.0853)
OKLCHoklch(45.3% 0.089 107)
XYZxyz(8.0875, 9.4608, 1.9303)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5911 #11145C
analogous
#5C3411 #5C5911 #3A5C11
triadic
#5C5911 #115C59 #59115C
tetradic
#5C5911 #115C34 #11145C #5C113A
square
#5C5911 #115C34 #11145C #5C113A
split-complementary
#5C5911 #113A5C #34115C
monochromatic
#1A1905 #282707 #5C5911 #908B1B #C3BD24

Accessibility & contrast

On white

7.26
#5C5911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5C5911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5911
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5911#FFFFFF#000000##FFFFFF
##5C59111.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615502
Deuteranopia (green-blind)
#635817
Tritanopia (blue-blind)
#63524B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c5911;
/* rgb */ color: rgb(92, 89, 17);
/* oklch */ color: oklch(45.3% 0.089 107.0);
Tailwind
colors: {
  custom: {
    50: '#8d8756',
    500: '#5c5911',
    950: '#000000',
  },
}
SCSS
$custom: #5c5911;
$custom-light: #8d8756;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5911",
  "rgb": {
    "r": 92,
    "g": 89,
    "b": 17
  },
  "hsl": {
    "h": 57.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45295,
    "c": 0.08915,
    "h": 107
  },
  "luminance": 0.09461
}

Semantic roles & 50–950 ramp

primary
#5C5911
secondary
#343895
accent
#43EC3C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5C5911

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

Preview Lab → · Contrast checker → · Palette generator →

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