#5D6211#5D6211

#5D6211 is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.6% C 0.099 H 113.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5D6211
RGBrgb(93, 98, 17)
HSLhsl(64, 70%, 23%)
HSVhsv(64, 83%, 38%)
CMYKcmyk(5.1%, 0%, 82.7%, 61.6%)
CIE-LABlab(39.75, -12.56, 41.65)
CIE-LCHlch(39.75, 43.51, 106.78°)
OKLaboklab(47.63% -0.0391 0.0909)
OKLCHoklch(47.63% 0.099 113.3)
XYZxyz(8.9834, 11.1032, 2.2001)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6211 #161162
analogous
#623F11 #5D6211 #346211
triadic
#5D6211 #115D62 #62115D
tetradic
#5D6211 #11623F #161162 #621134
square
#5D6211 #11623F #161162 #621134
split-complementary
#5D6211 #113462 #3F1162
monochromatic
#191A05 #2C2E08 #5D6211 #8E961A #C0CA23

Accessibility & contrast

On white

6.52
#5D6211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5D6211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6211
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6211#FFFFFF#000000##FFFFFF
##5D62111.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#6A5E18
Tritanopia (blue-blind)
#645C53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d6211;
/* rgb */ color: rgb(93, 98, 17);
/* oklch */ color: oklch(47.6% 0.099 113.3);
Tailwind
colors: {
  custom: {
    50: '#8e8e57',
    500: '#5d6211',
    950: '#000000',
  },
}
SCSS
$custom: #5d6211;
$custom-light: #8e8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6211",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 63.704,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.47633,
    "c": 0.09895,
    "h": 113.3
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#5D6211
secondary
#3B349A
accent
#3BED46
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C03
muted
#7D7D78

Preview Lab

Preview with #5D6211

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

Preview Lab → · Contrast checker → · Palette generator →

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