#5C581D#5C581D

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

Color values

HEX#5C581D
RGBrgb(92, 88, 29)
HSLhsl(56, 52%, 24%)
HSVhsv(56, 68%, 36%)
CMYKcmyk(0%, 4.3%, 68.5%, 63.9%)
CIE-LABlab(36.64, -6.63, 33.63)
CIE-LCHlch(36.64, 34.27, 101.15°)
OKLaboklab(45.15% -0.0211 0.0763)
OKLCHoklch(45.15% 0.079 105.4)
XYZxyz(8.1254, 9.3437, 2.5377)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C581D #1D215C
analogous
#5C381D #5C581D #405C1D
triadic
#5C581D #1D5C58 #581D5C
tetradic
#5C581D #1D5C38 #1D215C #5C1D40
square
#5C581D #1D5C38 #1D215C #5C1D40
split-complementary
#5C581D #1D405C #381D5C
monochromatic
#171607 #2D2B0E #5C581D #8B852C #B9B13A

Accessibility & contrast

On white

7.32
#5C581D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C581D
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C581D#FFFFFF#000000##FFFFFF
##5C581D1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605516
Deuteranopia (green-blind)
#615721
Tritanopia (blue-blind)
#63524C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c581d;
/* rgb */ color: rgb(92, 88, 29);
/* oklch */ color: oklch(45.1% 0.079 105.4);
Tailwind
colors: {
  custom: {
    50: '#8c865c',
    500: '#5c581d',
    950: '#000000',
  },
}
SCSS
$custom: #5c581d;
$custom-light: #8c865c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c581d",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 29
  },
  "hsl": {
    "h": 56.19,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45149,
    "c": 0.07914,
    "h": 105.4
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

primary
#5C581D
secondary
#444991
accent
#55DC4C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5C581D

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

Preview Lab → · Contrast checker → · Palette generator →

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