#5E5211#5E5211

#5E5211 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.8% C 0.082 H 98.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5E5211
RGBrgb(94, 82, 17)
HSLhsl(51, 69%, 22%)
HSVhsv(51, 82%, 37%)
CMYKcmyk(0%, 12.8%, 81.9%, 63.1%)
CIE-LABlab(34.91, -2.78, 37.26)
CIE-LCHlch(34.91, 37.37, 94.26°)
OKLaboklab(43.8% -0.0117 0.0815)
OKLCHoklch(43.8% 0.082 98.2)
XYZxyz(7.7350, 8.4551, 1.7548)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5211 #111D5E
analogous
#5E2C11 #5E5211 #445E11
triadic
#5E5211 #115E52 #52115E
tetradic
#5E5211 #115E2C #111D5E #5E1144
square
#5E5211 #115E2C #111D5E #5E1144
split-complementary
#5E5211 #11445E #2C115E
monochromatic
#1A1705 #2A2508 #5E5211 #927F1A #C6AC24

Accessibility & contrast

On white

7.80
#5E5211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5E5211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5211
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5211#FFFFFF#000000##FFFFFF
##5E52111.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5005
Deuteranopia (green-blind)
#5E5415
Tritanopia (blue-blind)
#664B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e5211;
/* rgb */ color: rgb(94, 82, 17);
/* oklch */ color: oklch(43.8% 0.082 98.2);
Tailwind
colors: {
  custom: {
    50: '#8f8255',
    500: '#5e5211',
    950: '#000000',
  },
}
SCSS
$custom: #5e5211;
$custom-light: #8f8255;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5211",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 50.649,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43798,
    "c": 0.08234,
    "h": 98.2
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#5E5211
secondary
#344497
accent
#57EC3C
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5211

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

Preview Lab → · Contrast checker → · Palette generator →

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