#5E5315#5E5315

#5E5315 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.1% C 0.081 H 98.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5E5315
RGBrgb(94, 83, 21)
HSLhsl(51, 63%, 23%)
HSVhsv(51, 78%, 37%)
CMYKcmyk(0%, 11.7%, 77.7%, 63.1%)
CIE-LABlab(35.24, -3.18, 35.93)
CIE-LCHlch(35.24, 36.07, 95.05°)
OKLaboklab(44.07% -0.0124 0.0796)
OKLCHoklch(44.07% 0.081 98.9)
XYZxyz(7.8451, 8.6207, 1.9601)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5315 #15205E
analogous
#5E2F15 #5E5315 #445E15
triadic
#5E5315 #155E53 #53155E
tetradic
#5E5315 #155E2F #15205E #5E1544
square
#5E5315 #155E2F #15205E #5E1544
split-complementary
#5E5315 #15445E #2F155E
monochromatic
#191606 #2C270A #5E5315 #907F20 #C2AB2B

Accessibility & contrast

On white

7.71
#5E5315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5E5315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5315
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5315#FFFFFF#000000##FFFFFF
##5E53151.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510B
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#664C47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e5315;
/* rgb */ color: rgb(94, 83, 21);
/* oklch */ color: oklch(44.1% 0.081 98.9);
Tailwind
colors: {
  custom: {
    50: '#8e8357',
    500: '#5e5315',
    950: '#000000',
  },
}
SCSS
$custom: #5e5315;
$custom-light: #8e8357;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5315",
  "rgb": {
    "r": 94,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 50.959,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44069,
    "c": 0.08051,
    "h": 98.9
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#5E5315
secondary
#394795
accent
#5AE741
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5315

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

Preview Lab → · Contrast checker → · Palette generator →

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