#5E6611#5E6611

#5E6611 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.7% C 0.103 H 115.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5E6611
RGBrgb(94, 102, 17)
HSLhsl(66, 71%, 23%)
HSVhsv(66, 83%, 40%)
CMYKcmyk(7.8%, 0%, 83.3%, 60%)
CIE-LABlab(41.09, -14.31, 42.89)
CIE-LCHlch(41.09, 45.21, 108.45°)
OKLaboklab(48.73% -0.0439 0.0935)
OKLCHoklch(48.73% 0.103 115.2)
XYZxyz(9.4689, 11.9231, 2.3328)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6611 #191166
analogous
#664311 #5E6611 #336611
triadic
#5E6611 #115E66 #66115E
tetradic
#5E6611 #116643 #191166 #661133
square
#5E6611 #116643 #191166 #661133
split-complementary
#5E6611 #113366 #431166
monochromatic
#181A04 #2E3208 #5E6611 #8E9A1A #BFCF22

Accessibility & contrast

On white

6.20
#5E6611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5E6611 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6611
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6611#FFFFFF#000000##FFFFFF
##5E66111.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6D6219
Tritanopia (blue-blind)
#656056
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e6611;
/* rgb */ color: rgb(94, 102, 17);
/* oklch */ color: oklch(48.7% 0.103 115.2);
Tailwind
colors: {
  custom: {
    50: '#8f9158',
    500: '#5e6611',
    950: '#000000',
  },
}
SCSS
$custom: #5e6611;
$custom-light: #8f9158;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6611",
  "rgb": {
    "r": 94,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 65.647,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.10331,
    "h": 115.2
  },
  "luminance": 0.11923
}

Semantic roles & 50–950 ramp

primary
#5E6611
secondary
#3F359E
accent
#3AEE4B
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6611

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

Preview Lab → · Contrast checker → · Palette generator →

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