#5C8221#5C8221

#5C8221 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.9% C 0.131 H 128.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5C8221
RGBrgb(92, 130, 33)
HSLhsl(84, 60%, 32%)
HSVhsv(84, 75%, 51%)
CMYKcmyk(29.2%, 0%, 74.6%, 49%)
CIE-LABlab(49.92, -28.71, 45.48)
CIE-LCHlch(49.92, 53.78, 122.26°)
OKLaboklab(55.85% -0.0819 0.1019)
OKLCHoklch(55.85% 0.131 128.8)
XYZxyz(12.6708, 18.3501, 4.3129)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8221 #472182
analogous
#827821 #5C8221 #2C8221
triadic
#5C8221 #215C82 #82215C
tetradic
#5C8221 #218278 #472182 #82212C
square
#5C8221 #218278 #472182 #82212C
split-complementary
#5C8221 #212C82 #782182
monochromatic
#172008 #395115 #5C8221 #7FB32D #9DD24C

Accessibility & contrast

On white

4.50
#5C8221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#5C8221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8221
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8221#FFFFFF#000000##000000
##5C82211.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780F
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#5F7C6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c8221;
/* rgb */ color: rgb(92, 130, 33);
/* oklch */ color: oklch(55.9% 0.131 128.8);
Tailwind
colors: {
  custom: {
    50: '#8ea663',
    500: '#5c8221',
    950: '#000000',
  },
}
SCSS
$custom: #5c8221;
$custom-light: #8ea663;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8221",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 83.505,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.13073,
    "h": 128.8
  },
  "luminance": 0.1835
}

Semantic roles & 50–950 ramp

primary
#5C8221
secondary
#744AB4
accent
#45E383
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5C8221

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

Preview Lab → · Contrast checker → · Palette generator →

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