#5C5814#5C5814

#5C5814 is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.1% C 0.086 H 106.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5C5814
RGBrgb(92, 88, 20)
HSLhsl(57, 64%, 22%)
HSVhsv(57, 78%, 36%)
CMYKcmyk(0%, 4.3%, 78.3%, 63.9%)
CIE-LABlab(36.57, -7.18, 37.56)
CIE-LCHlch(36.57, 38.24, 100.83°)
OKLaboklab(45.07% -0.0237 0.0829)
OKLCHoklch(45.07% 0.086 106)
XYZxyz(8.0300, 9.3056, 2.0349)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5814 #14185C
analogous
#5C3414 #5C5814 #3C5C14
triadic
#5C5814 #145C58 #58145C
tetradic
#5C5814 #145C34 #14185C #5C143C
square
#5C5814 #145C34 #14185C #5C143C
split-complementary
#5C5814 #143C5C #34145C
monochromatic
#191805 #2A2809 #5C5814 #8E881F #C1B82A

Accessibility & contrast

On white

7.34
#5C5814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C5814
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5814#FFFFFF#000000##FFFFFF
##5C58141.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605407
Deuteranopia (green-blind)
#625719
Tritanopia (blue-blind)
#63524B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c5814;
/* rgb */ color: rgb(92, 88, 20);
/* oklch */ color: oklch(45.1% 0.086 106.0);
Tailwind
colors: {
  custom: {
    50: '#8d8657',
    500: '#5c5814',
    950: '#000000',
  },
}
SCSS
$custom: #5c5814;
$custom-light: #8d8657;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5814",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 56.667,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45069,
    "c": 0.08618,
    "h": 106
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

primary
#5C5814
secondary
#383D94
accent
#4AE741
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5C5814

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

Preview Lab → · Contrast checker → · Palette generator →

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