#5E5015#5E5015

#5E5015 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.4% C 0.078 H 95.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#5E5015
RGBrgb(94, 80, 21)
HSLhsl(48, 63%, 23%)
HSVhsv(48, 78%, 37%)
CMYKcmyk(0%, 14.9%, 77.7%, 63.1%)
CIE-LABlab(34.34, -1.37, 35.05)
CIE-LCHlch(34.34, 35.08, 92.24°)
OKLaboklab(43.35% -0.0073 0.0777)
OKLCHoklch(43.35% 0.078 95.3)
XYZxyz(7.6205, 8.1716, 1.8852)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5015 #15235E
analogous
#5E2B15 #5E5015 #485E15
triadic
#5E5015 #155E50 #50155E
tetradic
#5E5015 #155E2B #15235E #5E1548
square
#5E5015 #155E2B #15235E #5E1548
split-complementary
#5E5015 #15485E #2B155E
monochromatic
#191506 #2C250A #5E5015 #907B20 #C2A52B

Accessibility & contrast

On white

7.97
#5E5015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5E5015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5015
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5015#FFFFFF#000000##FFFFFF
##5E50151.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0C
Deuteranopia (green-blind)
#5D5318
Tritanopia (blue-blind)
#664944
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e5015;
/* rgb */ color: rgb(94, 80, 21);
/* oklch */ color: oklch(43.4% 0.078 95.3);
Tailwind
colors: {
  custom: {
    50: '#8f8057',
    500: '#5e5015',
    950: '#000000',
  },
}
SCSS
$custom: #5e5015;
$custom-light: #8f8057;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5015",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 48.493,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43351,
    "c": 0.07802,
    "h": 95.3
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#5E5015
secondary
#394B95
accent
#61E741
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5015

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

Preview Lab → · Contrast checker → · Palette generator →

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