#5C5214#5C5214

#5C5214 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.6% C 0.080 H 99.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5C5214
RGBrgb(92, 82, 20)
HSLhsl(52, 64%, 22%)
HSVhsv(52, 78%, 36%)
CMYKcmyk(0%, 10.9%, 78.3%, 63.9%)
CIE-LABlab(34.72, -3.63, 35.79)
CIE-LCHlch(34.72, 35.97, 95.79°)
OKLaboklab(43.6% -0.0137 0.0791)
OKLCHoklch(43.6% 0.08 99.8)
XYZxyz(7.5576, 8.3608, 1.8774)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5214 #141E5C
analogous
#5C2E14 #5C5214 #425C14
triadic
#5C5214 #145C52 #52145C
tetradic
#5C5214 #145C2E #141E5C #5C1442
square
#5C5214 #145C2E #141E5C #5C1442
split-complementary
#5C5214 #14425C #2E145C
monochromatic
#191605 #2A2509 #5C5214 #8E7F1F #C1AC2A

Accessibility & contrast

On white

7.86
#5C5214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5C5214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5214
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5214#FFFFFF#000000##FFFFFF
##5C52141.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500A
Deuteranopia (green-blind)
#5D5318
Tritanopia (blue-blind)
#644B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c5214;
/* rgb */ color: rgb(92, 82, 20);
/* oklch */ color: oklch(43.6% 0.080 99.8);
Tailwind
colors: {
  custom: {
    50: '#8d8256',
    500: '#5c5214',
    950: '#000000',
  },
}
SCSS
$custom: #5c5214;
$custom-light: #8d8256;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5214",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 51.667,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43604,
    "c": 0.08028,
    "h": 99.8
  },
  "luminance": 0.0836
}

Semantic roles & 50–950 ramp

primary
#5C5214
secondary
#384594
accent
#58E741
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5C5214

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

Preview Lab → · Contrast checker → · Palette generator →

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