#5C581C#5C581C

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

Color values

HEX#5C581C
RGBrgb(92, 88, 28)
HSLhsl(56, 53%, 24%)
HSVhsv(56, 70%, 36%)
CMYKcmyk(0%, 4.3%, 69.6%, 63.9%)
CIE-LABlab(36.63, -6.70, 34.10)
CIE-LCHlch(36.63, 34.75, 101.11°)
OKLaboklab(45.14% -0.0214 0.0771)
OKLCHoklch(45.14% 0.08 105.5)
XYZxyz(8.1133, 9.3389, 2.4736)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C581C #1C205C
analogous
#5C381C #5C581C #405C1C
triadic
#5C581C #1C5C58 #581C5C
tetradic
#5C581C #1C5C38 #1C205C #5C1C40
square
#5C581C #1C5C38 #1C205C #5C1C40
split-complementary
#5C581C #1C405C #381C5C
monochromatic
#171607 #2D2B0E #5C581C #8B852A #BAB239

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C581C#FFFFFF#000000##FFFFFF
##5C581C1.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)
#605514
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#63524C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c581c;
/* rgb */ color: rgb(92, 88, 28);
/* oklch */ color: oklch(45.1% 0.080 105.5);
Tailwind
colors: {
  custom: {
    50: '#8c865c',
    500: '#5c581c',
    950: '#000000',
  },
}
SCSS
$custom: #5c581c;
$custom-light: #8c865c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c581c",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 56.25,
    "s": 53.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45139,
    "c": 0.08002,
    "h": 105.5
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

primary
#5C581C
secondary
#424791
accent
#54DD4B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5C581C

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

Preview Lab → · Contrast checker → · Palette generator →

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