#5E5011#5E5011

#5E5011 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.3% C 0.081 H 95.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5E5011
RGBrgb(94, 80, 17)
HSLhsl(49, 69%, 22%)
HSVhsv(49, 82%, 37%)
CMYKcmyk(0%, 14.9%, 81.9%, 63.1%)
CIE-LABlab(34.31, -1.57, 36.70)
CIE-LCHlch(34.31, 36.74, 92.45°)
OKLaboklab(43.32% -0.0083 0.0803)
OKLCHoklch(43.32% 0.081 95.9)
XYZxyz(7.5863, 8.1579, 1.7052)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5011 #111F5E
analogous
#5E2A11 #5E5011 #465E11
triadic
#5E5011 #115E50 #50115E
tetradic
#5E5011 #115E2A #111F5E #5E1146
square
#5E5011 #115E2A #111F5E #5E1146
split-complementary
#5E5011 #11465E #2A115E
monochromatic
#1A1605 #2A2408 #5E5011 #927C1A #C6A824

Accessibility & contrast

On white

7.98
#5E5011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E5011
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5011#FFFFFF#000000##FFFFFF
##5E50111.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5011;
/* rgb */ color: rgb(94, 80, 17);
/* oklch */ color: oklch(43.3% 0.081 95.9);
Tailwind
colors: {
  custom: {
    50: '#8f8055',
    500: '#5e5011',
    950: '#000000',
  },
}
SCSS
$custom: #5e5011;
$custom-light: #8f8055;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5011",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 49.091,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4332,
    "c": 0.08073,
    "h": 95.9
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#5E5011
secondary
#344697
accent
#5CEC3C
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5011

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

Preview Lab → · Contrast checker → · Palette generator →

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