#5E4F15#5E4F15

#5E4F15 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 43.1% C 0.077 H 94.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#5E4F15
RGBrgb(94, 79, 21)
HSLhsl(48, 63%, 23%)
HSVhsv(48, 78%, 37%)
CMYKcmyk(0%, 16%, 77.7%, 63.1%)
CIE-LABlab(34.04, -0.76, 34.75)
CIE-LCHlch(34.04, 34.76, 91.26°)
OKLaboklab(43.11% -0.0055 0.077)
OKLCHoklch(43.11% 0.077 94.1)
XYZxyz(7.5478, 8.0262, 1.8610)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4F15 #15245E
analogous
#5E2A15 #5E4F15 #495E15
triadic
#5E4F15 #155E4F #4F155E
tetradic
#5E4F15 #155E2A #15245E #5E1549
square
#5E4F15 #155E2A #15245E #5E1549
split-complementary
#5E4F15 #15495E #2A155E
monochromatic
#191506 #2C250A #5E4F15 #907920 #C2A32B

Accessibility & contrast

On white

8.06
#5E4F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5E4F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4F15
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4F15#FFFFFF#000000##FFFFFF
##5E4F151.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0C
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#664843
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e4f15;
/* rgb */ color: rgb(94, 79, 21);
/* oklch */ color: oklch(43.1% 0.077 94.1);
Tailwind
colors: {
  custom: {
    50: '#8f8057',
    500: '#5e4f15',
    950: '#000000',
  },
}
SCSS
$custom: #5e4f15;
$custom-light: #8f8057;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4f15",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 47.671,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43114,
    "c": 0.07725,
    "h": 94.1
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#5E4F15
secondary
#394C95
accent
#63E741
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E4F15

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

Preview Lab → · Contrast checker → · Palette generator →

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