#5D6611#5D6611

#5D6611 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.6% C 0.104 H 115.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5D6611
RGBrgb(93, 102, 17)
HSLhsl(66, 71%, 23%)
HSVhsv(66, 83%, 40%)
CMYKcmyk(8.8%, 0%, 83.3%, 60%)
CIE-LABlab(41.01, -14.78, 42.78)
CIE-LCHlch(41.01, 45.26, 109.06°)
OKLaboklab(48.64% -0.0452 0.0933)
OKLCHoklch(48.64% 0.104 115.8)
XYZxyz(9.3670, 11.8705, 2.3280)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6611 #1A1166
analogous
#664411 #5D6611 #326611
triadic
#5D6611 #115D66 #66115D
tetradic
#5D6611 #116644 #1A1166 #661132
square
#5D6611 #116644 #1A1166 #661132
split-complementary
#5D6611 #113266 #441166
monochromatic
#181A04 #2D3208 #5D6611 #8D9A1A #BDCF22

Accessibility & contrast

On white

6.22
#5D6611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5D6611 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6611
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6611#FFFFFF#000000##FFFFFF
##5D66111.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d6611;
/* rgb */ color: rgb(93, 102, 17);
/* oklch */ color: oklch(48.6% 0.104 115.8);
Tailwind
colors: {
  custom: {
    50: '#8e9158',
    500: '#5d6611',
    950: '#000000',
  },
}
SCSS
$custom: #5d6611;
$custom-light: #8e9158;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6611",
  "rgb": {
    "r": 93,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 66.353,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48641,
    "c": 0.10367,
    "h": 115.8
  },
  "luminance": 0.1187
}

Semantic roles & 50–950 ramp

primary
#5D6611
secondary
#40359E
accent
#3AEE4D
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5D6611

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

Preview Lab → · Contrast checker → · Palette generator →

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