#5E5216#5E5216

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

Color values

HEX#5E5216
RGBrgb(94, 82, 22)
HSLhsl(50, 62%, 23%)
HSVhsv(50, 77%, 37%)
CMYKcmyk(0%, 12.8%, 76.6%, 63.1%)
CIE-LABlab(34.95, -2.52, 35.21)
CIE-LCHlch(34.95, 35.30, 94.10°)
OKLaboklab(43.84% -0.0104 0.0782)
OKLCHoklch(43.84% 0.079 97.6)
XYZxyz(7.7786, 8.4726, 1.9846)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5216 #16225E
analogous
#5E2E16 #5E5216 #465E16
triadic
#5E5216 #165E52 #52165E
tetradic
#5E5216 #165E2E #16225E #5E1646
square
#5E5216 #165E2E #16225E #5E1646
split-complementary
#5E5216 #16465E #2E165E
monochromatic
#191606 #2C270A #5E5216 #907D22 #C1A92D

Accessibility & contrast

On white

7.79
#5E5216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E5216
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5216#FFFFFF#000000##FFFFFF
##5E52161.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5216;
/* rgb */ color: rgb(94, 82, 22);
/* oklch */ color: oklch(43.8% 0.079 97.6);
Tailwind
colors: {
  custom: {
    50: '#8e8258',
    500: '#5e5216',
    950: '#000000',
  },
}
SCSS
$custom: #5e5216;
$custom-light: #8e8258;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5216",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 50,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43837,
    "c": 0.07892,
    "h": 97.6
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#5E5216
secondary
#3B4A95
accent
#5EE543
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5216

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

Preview Lab → · Contrast checker → · Palette generator →

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