#5C5913#5C5913

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

Color values

HEX#5C5913
RGBrgb(92, 89, 19)
HSLhsl(58, 66%, 22%)
HSVhsv(58, 79%, 36%)
CMYKcmyk(0%, 3.3%, 79.3%, 63.9%)
CIE-LABlab(36.87, -7.82, 38.24)
CIE-LCHlch(36.87, 39.03, 101.55°)
OKLaboklab(45.31% -0.0256 0.0841)
OKLCHoklch(45.31% 0.088 106.9)
XYZxyz(8.1039, 9.4674, 2.0165)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5913 #13165C
analogous
#5C3513 #5C5913 #3B5C13
triadic
#5C5913 #135C59 #59135C
tetradic
#5C5913 #135C35 #13165C #5C133B
square
#5C5913 #135C35 #13165C #5C133B
split-complementary
#5C5913 #133B5C #35135C
monochromatic
#191905 #292809 #5C5913 #8F8A1D #C1BB28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C5913#FFFFFF#000000##FFFFFF
##5C59131.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)
#615505
Deuteranopia (green-blind)
#635818
Tritanopia (blue-blind)
#63534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c5913;
/* rgb */ color: rgb(92, 89, 19);
/* oklch */ color: oklch(45.3% 0.088 106.9);
Tailwind
colors: {
  custom: {
    50: '#8d8757',
    500: '#5c5913',
    950: '#000000',
  },
}
SCSS
$custom: #5c5913;
$custom-light: #8d8757;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5913",
  "rgb": {
    "r": 92,
    "g": 89,
    "b": 19
  },
  "hsl": {
    "h": 57.534,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45309,
    "c": 0.08791,
    "h": 106.9
  },
  "luminance": 0.09467
}

Semantic roles & 50–950 ramp

primary
#5C5913
secondary
#373B94
accent
#46E93F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5C5913

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

Preview Lab → · Contrast checker → · Palette generator →

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