#5E581D#5E581D

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

Color values

HEX#5E581D
RGBrgb(94, 88, 29)
HSLhsl(54, 53%, 24%)
HSVhsv(54, 69%, 37%)
CMYKcmyk(0%, 6.4%, 69.1%, 63.1%)
CIE-LABlab(36.83, -5.65, 33.89)
CIE-LCHlch(36.83, 34.36, 99.47°)
OKLaboklab(45.35% -0.0184 0.0768)
OKLCHoklch(45.35% 0.079 103.5)
XYZxyz(8.3279, 9.4482, 2.5472)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E581D #1D235E
analogous
#5E381D #5E581D #445E1D
triadic
#5E581D #1D5E58 #581D5E
tetradic
#5E581D #1D5E38 #1D235E #5E1D44
square
#5E581D #1D5E38 #1D235E #5E1D44
split-complementary
#5E581D #1D445E #381D5E
monochromatic
#171607 #2F2C0F #5E581D #8D842B #BCB03A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E581D#FFFFFF#000000##FFFFFF
##5E581D1.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)
#605516
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#65524C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e581d;
/* rgb */ color: rgb(94, 88, 29);
/* oklch */ color: oklch(45.4% 0.079 103.5);
Tailwind
colors: {
  custom: {
    50: '#8e865c',
    500: '#5e581d',
    950: '#000000',
  },
}
SCSS
$custom: #5e581d;
$custom-light: #8e865c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e581d",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 29
  },
  "hsl": {
    "h": 54.462,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45352,
    "c": 0.07897,
    "h": 103.5
  },
  "luminance": 0.09448
}

Semantic roles & 50–950 ramp

primary
#5E581D
secondary
#444B93
accent
#59DC4C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5E581D

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

Preview Lab → · Contrast checker → · Palette generator →

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