#5E5512#5E5512

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

Color values

HEX#5E5512
RGBrgb(94, 85, 18)
HSLhsl(53, 68%, 22%)
HSVhsv(53, 81%, 37%)
CMYKcmyk(0%, 9.6%, 80.9%, 63.1%)
CIE-LABlab(35.83, -4.52, 37.73)
CIE-LCHlch(35.83, 38.00, 96.84°)
OKLaboklab(44.53% -0.0166 0.0827)
OKLCHoklch(44.53% 0.084 101.3)
XYZxyz(7.9742, 8.9207, 1.8740)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5512 #121B5E
analogous
#5E2F12 #5E5512 #415E12
triadic
#5E5512 #125E55 #55125E
tetradic
#5E5512 #125E2F #121B5E #5E1241
square
#5E5512 #125E2F #121B5E #5E1241
split-complementary
#5E5512 #12415E #2F125E
monochromatic
#1A1705 #2B2708 #5E5512 #91831C #C5B226

Accessibility & contrast

On white

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

On black

2.78
#5E5512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E5512#FFFFFF#000000##FFFFFF
##5E55121.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5512;
/* rgb */ color: rgb(94, 85, 18);
/* oklch */ color: oklch(44.5% 0.084 101.3);
Tailwind
colors: {
  custom: {
    50: '#8f8456',
    500: '#5e5512',
    950: '#000000',
  },
}
SCSS
$custom: #5e5512;
$custom-light: #8f8456;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5512",
  "rgb": {
    "r": 94,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 52.895,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44528,
    "c": 0.08435,
    "h": 101.3
  },
  "luminance": 0.0892
}

Semantic roles & 50–950 ramp

primary
#5E5512
secondary
#354196
accent
#52EB3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5512

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

Preview Lab → · Contrast checker → · Palette generator →

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