#5E5215#5E5215

#5E5215 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.8% C 0.080 H 97.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5E5215
RGBrgb(94, 82, 21)
HSLhsl(50, 63%, 23%)
HSVhsv(50, 78%, 37%)
CMYKcmyk(0%, 12.8%, 77.7%, 63.1%)
CIE-LABlab(34.94, -2.58, 35.64)
CIE-LCHlch(34.94, 35.73, 94.14°)
OKLaboklab(43.83% -0.0107 0.0789)
OKLCHoklch(43.83% 0.08 97.7)
XYZxyz(7.7691, 8.4688, 1.9347)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5215 #15215E
analogous
#5E2E15 #5E5215 #455E15
triadic
#5E5215 #155E52 #52155E
tetradic
#5E5215 #155E2E #15215E #5E1545
square
#5E5215 #155E2E #15215E #5E1545
split-complementary
#5E5215 #15455E #2E155E
monochromatic
#191606 #2C260A #5E5215 #907E20 #C2A92B

Accessibility & contrast

On white

7.80
#5E5215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5E5215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5215
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5215#FFFFFF#000000##FFFFFF
##5E52151.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500B
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#664B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e5215;
/* rgb */ color: rgb(94, 82, 21);
/* oklch */ color: oklch(43.8% 0.080 97.7);
Tailwind
colors: {
  custom: {
    50: '#8e8257',
    500: '#5e5215',
    950: '#000000',
  },
}
SCSS
$custom: #5e5215;
$custom-light: #8e8257;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5215",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 50.137,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43829,
    "c": 0.07965,
    "h": 97.7
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#5E5215
secondary
#394995
accent
#5CE741
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5215

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

Preview Lab → · Contrast checker → · Palette generator →

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