#5E8221#5E8221

#5E8221 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 56.0% C 0.130 H 128.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5E8221
RGBrgb(94, 130, 33)
HSLhsl(82, 60%, 32%)
HSVhsv(82, 75%, 51%)
CMYKcmyk(27.7%, 0%, 74.6%, 49%)
CIE-LABlab(50.04, -27.89, 45.64)
CIE-LCHlch(50.04, 53.49, 121.43°)
OKLaboklab(55.99% -0.0798 0.1022)
OKLCHoklch(55.99% 0.13 128)
XYZxyz(12.8732, 18.4545, 4.3224)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8221 #452182
analogous
#827621 #5E8221 #2E8221
triadic
#5E8221 #215E82 #82215E
tetradic
#5E8221 #218276 #452182 #82212E
square
#5E8221 #218276 #452182 #82212E
split-complementary
#5E8221 #212E82 #762182
monochromatic
#172008 #3B5115 #5E8221 #81B32D #A0D24C

Accessibility & contrast

On white

4.48
#5E8221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5E8221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8221
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8221#FFFFFF#000000##000000
##5E82211.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e8221;
/* rgb */ color: rgb(94, 130, 33);
/* oklch */ color: oklch(56.0% 0.130 128.0);
Tailwind
colors: {
  custom: {
    50: '#8fa663',
    500: '#5e8221',
    950: '#000000',
  },
}
SCSS
$custom: #5e8221;
$custom-light: #8fa663;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8221",
  "rgb": {
    "r": 94,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 82.268,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55989,
    "c": 0.12966,
    "h": 128
  },
  "luminance": 0.18455
}

Semantic roles & 50–950 ramp

primary
#5E8221
secondary
#724AB4
accent
#45E380
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E8221

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

Preview Lab → · Contrast checker → · Palette generator →

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