#5F591C#5F591C

#5F591C is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.7% C 0.081 H 103.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5F591C
RGBrgb(95, 89, 28)
HSLhsl(55, 54%, 24%)
HSVhsv(55, 71%, 37%)
CMYKcmyk(0%, 6.3%, 70.5%, 62.7%)
CIE-LABlab(37.23, -5.82, 34.81)
CIE-LCHlch(37.23, 35.30, 99.50°)
OKLaboklab(45.69% -0.0191 0.0785)
OKLCHoklch(45.69% 0.081 103.7)
XYZxyz(8.5016, 9.6618, 2.5155)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F591C #1C225F
analogous
#5F381C #5F591C #445F1C
triadic
#5F591C #1C5F59 #591C5F
tetradic
#5F591C #1C5F38 #1C225F #5F1C44
square
#5F591C #1C5F38 #1C225F #5F1C44
split-complementary
#5F591C #1C445F #381C5F
monochromatic
#181607 #302D0E #5F591C #8E852A #BEB238

Accessibility & contrast

On white

7.16
#5F591C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5F591C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F591C
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F591C#FFFFFF#000000##FFFFFF
##5F591C1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615614
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#66534C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5f591c;
/* rgb */ color: rgb(95, 89, 28);
/* oklch */ color: oklch(45.7% 0.081 103.7);
Tailwind
colors: {
  custom: {
    50: '#8f875c',
    500: '#5f591c',
    950: '#000000',
  },
}
SCSS
$custom: #5f591c;
$custom-light: #8f875c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f591c",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 54.627,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45687,
    "c": 0.08081,
    "h": 103.7
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#5F591C
secondary
#424A94
accent
#57DE4A
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F591C

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

Preview Lab → · Contrast checker → · Palette generator →

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