#5E581A#5E581A

#5E581A is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.3% C 0.082 H 103.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5E581A
RGBrgb(94, 88, 26)
HSLhsl(55, 57%, 24%)
HSVhsv(55, 72%, 37%)
CMYKcmyk(0%, 6.4%, 72.3%, 63.1%)
CIE-LABlab(36.81, -5.85, 35.27)
CIE-LCHlch(36.81, 35.76, 99.42°)
OKLaboklab(45.32% -0.0194 0.0792)
OKLCHoklch(45.32% 0.082 103.8)
XYZxyz(8.2926, 9.4340, 2.3612)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E581A #1A205E
analogous
#5E361A #5E581A #425E1A
triadic
#5E581A #1A5E58 #581A5E
tetradic
#5E581A #1A5E36 #1A205E #5E1A42
square
#5E581A #1A5E36 #1A205E #5E1A42
split-complementary
#5E581A #1A425E #361A5E
monochromatic
#181607 #2E2B0D #5E581A #8E8527 #BEB235

Accessibility & contrast

On white

7.27
#5E581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5E581A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E581A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E581A#FFFFFF#000000##FFFFFF
##5E581A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605511
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#65524B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e581a;
/* rgb */ color: rgb(94, 88, 26);
/* oklch */ color: oklch(45.3% 0.082 103.8);
Tailwind
colors: {
  custom: {
    50: '#8e865b',
    500: '#5e581a',
    950: '#000000',
  },
}
SCSS
$custom: #5e581a;
$custom-light: #8e865b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e581a",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 54.706,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45322,
    "c": 0.0815,
    "h": 103.8
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#5E581A
secondary
#404794
accent
#55E048
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5E581A

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

Preview Lab → · Contrast checker → · Palette generator →

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