#5C581B#5C581B

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

Color values

HEX#5C581B
RGBrgb(92, 88, 27)
HSLhsl(56, 55%, 23%)
HSVhsv(56, 71%, 36%)
CMYKcmyk(0%, 4.3%, 70.7%, 63.9%)
CIE-LABlab(36.62, -6.76, 34.56)
CIE-LCHlch(36.62, 35.21, 101.08°)
OKLaboklab(45.13% -0.0217 0.0779)
OKLCHoklch(45.13% 0.081 105.6)
XYZxyz(8.1015, 9.3342, 2.4116)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C581B #1B1F5C
analogous
#5C371B #5C581B #3F5C1B
triadic
#5C581B #1B5C58 #581B5C
tetradic
#5C581B #1B5C37 #1B1F5C #5C1B3F
square
#5C581B #1B5C37 #1B1F5C #5C1B3F
split-complementary
#5C581B #1B3F5C #371B5C
monochromatic
#181707 #2D2B0D #5C581B #8B8529 #BBB337

Accessibility & contrast

On white

7.33
#5C581B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5C581B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C581B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C581B#FFFFFF#000000##FFFFFF
##5C581B1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605513
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#63524B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c581b;
/* rgb */ color: rgb(92, 88, 27);
/* oklch */ color: oklch(45.1% 0.081 105.6);
Tailwind
colors: {
  custom: {
    50: '#8c865b',
    500: '#5c581b',
    950: '#000000',
  },
}
SCSS
$custom: #5c581b;
$custom-light: #8c865b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c581b",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 56.308,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45129,
    "c": 0.08087,
    "h": 105.6
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#5C581B
secondary
#414692
accent
#53DE4A
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5C581B

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

Preview Lab → · Contrast checker → · Palette generator →

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