#5E591F#5E591F

#5E591F is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.6% C 0.078 H 104.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5E591F
RGBrgb(94, 89, 31)
HSLhsl(55, 50%, 25%)
HSVhsv(55, 67%, 37%)
CMYKcmyk(0%, 5.3%, 67%, 63.1%)
CIE-LABlab(37.16, -6.10, 33.26)
CIE-LCHlch(37.16, 33.82, 100.39°)
OKLaboklab(45.62% -0.0194 0.0758)
OKLCHoklch(45.62% 0.078 104.4)
XYZxyz(8.4361, 9.6237, 2.7092)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E591F #1F245E
analogous
#5E3A1F #5E591F #445E1F
triadic
#5E591F #1F5E59 #591F5E
tetradic
#5E591F #1F5E3A #1F245E #5E1F44
square
#5E591F #1F5E3A #1F245E #5E1F44
split-complementary
#5E591F #1F445E #3A1F5E
monochromatic
#171608 #302D10 #5E591F #8C852E #BAB03D

Accessibility & contrast

On white

7.18
#5E591F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5E591F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E591F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E591F#FFFFFF#000000##FFFFFF
##5E591F1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615618
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#65534D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e591f;
/* rgb */ color: rgb(94, 89, 31);
/* oklch */ color: oklch(45.6% 0.078 104.4);
Tailwind
colors: {
  custom: {
    50: '#8e875e',
    500: '#5e591f',
    950: '#000000',
  },
}
SCSS
$custom: #5e591f;
$custom-light: #8e875e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e591f",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 31
  },
  "hsl": {
    "h": 55.238,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45616,
    "c": 0.07825,
    "h": 104.4
  },
  "luminance": 0.09623
}

Semantic roles & 50–950 ramp

primary
#5E591F
secondary
#464C93
accent
#59DA4E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5E591F

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

Preview Lab → · Contrast checker → · Palette generator →

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