#5D8221#5D8221

#5D8221 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.9% C 0.130 H 128.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5D8221
RGBrgb(93, 130, 33)
HSLhsl(83, 60%, 32%)
HSVhsv(83, 75%, 51%)
CMYKcmyk(28.5%, 0%, 74.6%, 49%)
CIE-LABlab(49.98, -28.30, 45.56)
CIE-LCHlch(49.98, 53.63, 121.85°)
OKLaboklab(55.92% -0.0809 0.102)
OKLCHoklch(55.92% 0.13 128.4)
XYZxyz(12.7713, 18.4019, 4.3176)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8221 #462182
analogous
#827721 #5D8221 #2C8221
triadic
#5D8221 #215D82 #82215D
tetradic
#5D8221 #218277 #462182 #82212C
square
#5D8221 #218277 #462182 #82212C
split-complementary
#5D8221 #212C82 #772182
monochromatic
#172008 #3A5115 #5D8221 #80B32D #9FD24C

Accessibility & contrast

On white

4.49
#5D8221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5D8221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8221
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8221#FFFFFF#000000##000000
##5D82211.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790F
Deuteranopia (green-blind)
#84762A
Tritanopia (blue-blind)
#607C6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5d8221;
/* rgb */ color: rgb(93, 130, 33);
/* oklch */ color: oklch(55.9% 0.130 128.4);
Tailwind
colors: {
  custom: {
    50: '#8ea663',
    500: '#5d8221',
    950: '#000000',
  },
}
SCSS
$custom: #5d8221;
$custom-light: #8ea663;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8221",
  "rgb": {
    "r": 93,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 82.887,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55921,
    "c": 0.13018,
    "h": 128.4
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#5D8221
secondary
#734AB4
accent
#45E381
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5D8221

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

Preview Lab → · Contrast checker → · Palette generator →

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