#5C591B#5C591B

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

Color values

HEX#5C591B
RGBrgb(92, 89, 27)
HSLhsl(57, 55%, 23%)
HSVhsv(57, 71%, 36%)
CMYKcmyk(0%, 3.3%, 70.7%, 63.9%)
CIE-LABlab(36.93, -7.35, 34.88)
CIE-LCHlch(36.93, 35.64, 101.90°)
OKLaboklab(45.38% -0.0234 0.0786)
OKLCHoklch(45.38% 0.082 106.6)
XYZxyz(8.1841, 9.4995, 2.4392)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C591B #1B1E5C
analogous
#5C381B #5C591B #3E5C1B
triadic
#5C591B #1B5C59 #591B5C
tetradic
#5C591B #1B5C38 #1B1E5C #5C1B3E
square
#5C591B #1B5C38 #1B1E5C #5C1B3E
split-complementary
#5C591B #1B3E5C #381B5C
monochromatic
#181707 #2D2B0D #5C591B #8B8729 #BBB537

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C591B#FFFFFF#000000##FFFFFF
##5C591B1.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)
#615513
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#63534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c591b;
/* rgb */ color: rgb(92, 89, 27);
/* oklch */ color: oklch(45.4% 0.082 106.6);
Tailwind
colors: {
  custom: {
    50: '#8c875b',
    500: '#5c591b',
    950: '#000000',
  },
}
SCSS
$custom: #5c591b;
$custom-light: #8c875b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c591b",
  "rgb": {
    "r": 92,
    "g": 89,
    "b": 27
  },
  "hsl": {
    "h": 57.231,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45375,
    "c": 0.08198,
    "h": 106.6
  },
  "luminance": 0.09499
}

Semantic roles & 50–950 ramp

primary
#5C591B
secondary
#414592
accent
#51DE4A
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5C591B

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

Preview Lab → · Contrast checker → · Palette generator →

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