#5E5515#5E5515

#5E5515 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.6% C 0.082 H 101.1°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5E5515
RGBrgb(94, 85, 21)
HSLhsl(53, 63%, 23%)
HSVhsv(53, 78%, 37%)
CMYKcmyk(0%, 9.6%, 77.7%, 63.1%)
CIE-LABlab(35.85, -4.37, 36.53)
CIE-LCHlch(35.85, 36.79, 96.83°)
OKLaboklab(44.55% -0.0158 0.0808)
OKLCHoklch(44.55% 0.082 101.1)
XYZxyz(8.0003, 8.9312, 2.0118)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5515 #151E5E
analogous
#5E3115 #5E5515 #425E15
triadic
#5E5515 #155E55 #55155E
tetradic
#5E5515 #155E31 #151E5E #5E1542
square
#5E5515 #155E31 #151E5E #5E1542
split-complementary
#5E5515 #15425E #31155E
monochromatic
#191706 #2C280A #5E5515 #908220 #C2AF2B

Accessibility & contrast

On white

7.54
#5E5515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5E5515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5515
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5515#FFFFFF#000000##FFFFFF
##5E55151.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E520A
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#664E48
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e5515;
/* rgb */ color: rgb(94, 85, 21);
/* oklch */ color: oklch(44.6% 0.082 101.1);
Tailwind
colors: {
  custom: {
    50: '#8e8457',
    500: '#5e5515',
    950: '#000000',
  },
}
SCSS
$custom: #5e5515;
$custom-light: #8e8457;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5515",
  "rgb": {
    "r": 94,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 52.603,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44551,
    "c": 0.08233,
    "h": 101.1
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

primary
#5E5515
secondary
#394595
accent
#56E741
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5515

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

Preview Lab → · Contrast checker → · Palette generator →

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