#5C591C#5C591C

#5C591C is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.4% C 0.081 H 106.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5C591C
RGBrgb(92, 89, 28)
HSLhsl(57, 53%, 24%)
HSVhsv(57, 70%, 36%)
CMYKcmyk(0%, 3.3%, 69.6%, 63.9%)
CIE-LABlab(36.94, -7.28, 34.42)
CIE-LCHlch(36.94, 35.18, 101.95°)
OKLaboklab(45.39% -0.023 0.0778)
OKLCHoklch(45.39% 0.081 106.5)
XYZxyz(8.1959, 9.5042, 2.5011)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C591C #1C1F5C
analogous
#5C391C #5C591C #3F5C1C
triadic
#5C591C #1C5C59 #591C5C
tetradic
#5C591C #1C5C39 #1C1F5C #5C1C3F
square
#5C591C #1C5C39 #1C1F5C #5C1C3F
split-complementary
#5C591C #1C3F5C #391C5C
monochromatic
#171707 #2D2C0E #5C591C #8B862A #BAB439

Accessibility & contrast

On white

7.24
#5C591C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5C591C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C591C
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C591C#FFFFFF#000000##FFFFFF
##5C591C1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615614
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#63534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c591c;
/* rgb */ color: rgb(92, 89, 28);
/* oklch */ color: oklch(45.4% 0.081 106.5);
Tailwind
colors: {
  custom: {
    50: '#8c875c',
    500: '#5c591c',
    950: '#000000',
  },
}
SCSS
$custom: #5c591c;
$custom-light: #8c875c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c591c",
  "rgb": {
    "r": 92,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 57.188,
    "s": 53.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45385,
    "c": 0.08113,
    "h": 106.5
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

primary
#5C591C
secondary
#424691
accent
#52DD4B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5C591C

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

Preview Lab → · Contrast checker → · Palette generator →

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