#5C4910#5C4910

#5C4910 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.4% C 0.076 H 89.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#5C4910
RGBrgb(92, 73, 16)
HSLhsl(45, 70%, 21%)
HSVhsv(45, 83%, 36%)
CMYKcmyk(0%, 20.7%, 82.6%, 63.9%)
CIE-LABlab(31.98, 1.65, 34.86)
CIE-LCHlch(31.98, 34.90, 87.29°)
OKLaboklab(41.43% 0.0009 0.0762)
OKLCHoklch(41.43% 0.076 89.3)
XYZxyz(6.8901, 7.0783, 1.4934)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4910 #10235C
analogous
#5C2310 #5C4910 #495C10
triadic
#5C4910 #105C49 #49105C
tetradic
#5C4910 #105C23 #10235C #5C1049
square
#5C4910 #105C23 #10235C #5C1049
split-complementary
#5C4910 #10495C #23105C
monochromatic
#1A1505 #282007 #5C4910 #907219 #C49C22

Accessibility & contrast

On white

8.69
#5C4910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5C4910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4910
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4910#FFFFFF#000000##FFFFFF
##5C49101.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524806
Deuteranopia (green-blind)
#574D13
Tritanopia (blue-blind)
#64423E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5c4910;
/* rgb */ color: rgb(92, 73, 16);
/* oklch */ color: oklch(41.4% 0.076 89.3);
Tailwind
colors: {
  custom: {
    50: '#8d7b53',
    500: '#5c4910',
    950: '#000000',
  },
}
SCSS
$custom: #5c4910;
$custom-light: #8d7b53;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4910",
  "rgb": {
    "r": 92,
    "g": 73,
    "b": 16
  },
  "hsl": {
    "h": 45,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4143,
    "c": 0.07624,
    "h": 89.3
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#5C4910
secondary
#334B95
accent
#67ED3B
background
#F9F7F4
surface
#F1EDE7
border
#CBC8C3
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5C4910

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

Preview Lab → · Contrast checker → · Palette generator →

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