#5C570F#5C570F

#5C570F is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.8% C 0.088 H 105.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5C570F
RGBrgb(92, 87, 15)
HSLhsl(56, 72%, 21%)
HSVhsv(56, 84%, 36%)
CMYKcmyk(0%, 5.4%, 83.7%, 63.9%)
CIE-LABlab(36.23, -6.83, 39.13)
CIE-LCHlch(36.23, 39.72, 99.90°)
OKLaboklab(44.79% -0.0232 0.0851)
OKLCHoklch(44.79% 0.088 105.3)
XYZxyz(7.9084, 9.1265, 1.7969)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C570F #0F145C
analogous
#5C300F #5C570F #3A5C0F
triadic
#5C570F #0F5C57 #570F5C
tetradic
#5C570F #0F5C30 #0F145C #5C0F3A
square
#5C570F #0F5C30 #0F145C #5C0F3A
split-complementary
#5C570F #0F3A5C #300F5C
monochromatic
#1A1904 #272506 #5C570F #918918 #C5BB20

Accessibility & contrast

On white

7.43
#5C570F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5C570F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C570F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C570F#FFFFFF#000000##FFFFFF
##5C570F1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5400
Deuteranopia (green-blind)
#615715
Tritanopia (blue-blind)
#64504A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c570f;
/* rgb */ color: rgb(92, 87, 15);
/* oklch */ color: oklch(44.8% 0.088 105.3);
Tailwind
colors: {
  custom: {
    50: '#8d8655',
    500: '#5c570f',
    950: '#000000',
  },
}
SCSS
$custom: #5c570f;
$custom-light: #8d8655;
$custom-dark: #000000;
JSON
{
  "hex": "#5c570f",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 56.104,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44789,
    "c": 0.08825,
    "h": 105.3
  },
  "luminance": 0.09126
}

Semantic roles & 50–950 ramp

primary
#5C570F
secondary
#313895
accent
#45EF39
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5C570F

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

Preview Lab → · Contrast checker → · Palette generator →

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