#5C5812#5C5812

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

Color values

HEX#5C5812
RGBrgb(92, 88, 18)
HSLhsl(57, 67%, 22%)
HSVhsv(57, 80%, 36%)
CMYKcmyk(0%, 4.3%, 80.4%, 63.9%)
CIE-LABlab(36.55, -7.28, 38.33)
CIE-LCHlch(36.55, 39.01, 100.76°)
OKLaboklab(45.06% -0.0242 0.0841)
OKLCHoklch(45.06% 0.087 106.1)
XYZxyz(8.0129, 9.2987, 1.9449)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5812 #12165C
analogous
#5C3312 #5C5812 #3B5C12
triadic
#5C5812 #125C58 #58125C
tetradic
#5C5812 #125C33 #12165C #5C123B
square
#5C5812 #125C33 #12165C #5C123B
split-complementary
#5C5812 #123B5C #33125C
monochromatic
#1A1805 #292708 #5C5812 #8F891C #C2BA26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C5812#FFFFFF#000000##FFFFFF
##5C58121.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)
#605404
Deuteranopia (green-blind)
#625717
Tritanopia (blue-blind)
#63524B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c5812;
/* rgb */ color: rgb(92, 88, 18);
/* oklch */ color: oklch(45.1% 0.087 106.1);
Tailwind
colors: {
  custom: {
    50: '#8d8656',
    500: '#5c5812',
    950: '#000000',
  },
}
SCSS
$custom: #5c5812;
$custom-light: #8d8656;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5812",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 56.757,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45055,
    "c": 0.08749,
    "h": 106.1
  },
  "luminance": 0.09298
}

Semantic roles & 50–950 ramp

primary
#5C5812
secondary
#353B94
accent
#47EA3E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5C5812

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

Preview Lab → · Contrast checker → · Palette generator →

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