#5E591E#5E591E

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

Color values

HEX#5E591E
RGBrgb(94, 89, 30)
HSLhsl(55, 52%, 24%)
HSVhsv(55, 68%, 37%)
CMYKcmyk(0%, 5.3%, 68.1%, 63.1%)
CIE-LABlab(37.15, -6.17, 33.74)
CIE-LCHlch(37.15, 34.30, 100.36°)
OKLaboklab(45.61% -0.0198 0.0767)
OKLCHoklch(45.61% 0.079 104.5)
XYZxyz(8.4231, 9.6185, 2.6409)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E591E #1E235E
analogous
#5E391E #5E591E #435E1E
triadic
#5E591E #1E5E59 #591E5E
tetradic
#5E591E #1E5E39 #1E235E #5E1E43
square
#5E591E #1E5E39 #1E235E #5E1E43
split-complementary
#5E591E #1E435E #391E5E
monochromatic
#171607 #302D0F #5E591E #8C852D #BBB13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E591E#FFFFFF#000000##FFFFFF
##5E591E1.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)
#615617
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#65534D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e591e;
/* rgb */ color: rgb(94, 89, 30);
/* oklch */ color: oklch(45.6% 0.079 104.5);
Tailwind
colors: {
  custom: {
    50: '#8e875d',
    500: '#5e591e',
    950: '#000000',
  },
}
SCSS
$custom: #5e591e;
$custom-light: #8e875d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e591e",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 30
  },
  "hsl": {
    "h": 55.313,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.07916,
    "h": 104.5
  },
  "luminance": 0.09618
}

Semantic roles & 50–950 ramp

primary
#5E591E
secondary
#454B93
accent
#58DB4D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5E591E

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

Preview Lab → · Contrast checker → · Palette generator →

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