#5E5115#5E5115

#5E5115 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.6% C 0.079 H 96.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5E5115
RGBrgb(94, 81, 21)
HSLhsl(49, 63%, 23%)
HSVhsv(49, 78%, 37%)
CMYKcmyk(0%, 13.8%, 77.7%, 63.1%)
CIE-LABlab(34.64, -1.98, 35.34)
CIE-LCHlch(34.64, 35.40, 93.20°)
OKLaboklab(43.59% -0.009 0.0783)
OKLCHoklch(43.59% 0.079 96.5)
XYZxyz(7.6943, 8.3191, 1.9098)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5115 #15225E
analogous
#5E2C15 #5E5115 #465E15
triadic
#5E5115 #155E51 #51155E
tetradic
#5E5115 #155E2C #15225E #5E1546
square
#5E5115 #155E2C #15225E #5E1546
split-complementary
#5E5115 #15465E #2C155E
monochromatic
#191606 #2C260A #5E5115 #907C20 #C2A72B

Accessibility & contrast

On white

7.88
#5E5115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5E5115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5115
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5115#FFFFFF#000000##FFFFFF
##5E51151.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0B
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#664A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e5115;
/* rgb */ color: rgb(94, 81, 21);
/* oklch */ color: oklch(43.6% 0.079 96.5);
Tailwind
colors: {
  custom: {
    50: '#8e8157',
    500: '#5e5115',
    950: '#000000',
  },
}
SCSS
$custom: #5e5115;
$custom-light: #8e8157;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5115",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 49.315,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43589,
    "c": 0.07881,
    "h": 96.5
  },
  "luminance": 0.08319
}

Semantic roles & 50–950 ramp

primary
#5E5115
secondary
#394A95
accent
#5FE741
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5115

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

Preview Lab → · Contrast checker → · Palette generator →

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