#5D9222#5D9222

#5D9222 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.1% C 0.151 H 132.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5D9222
RGBrgb(93, 146, 34)
HSLhsl(88, 62%, 35%)
HSVhsv(88, 77%, 57%)
CMYKcmyk(36.3%, 0%, 76.7%, 42.7%)
CIE-LABlab(55.07, -35.65, 50.17)
CIE-LCHlch(55.07, 61.55, 125.40°)
OKLaboklab(60.07% -0.1008 0.1119)
OKLCHoklch(60.07% 0.151 132)
XYZxyz(15.0816, 22.9998, 5.1578)
Luminance0.2300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9222 #572292
analogous
#928F22 #5D9222 #259222
triadic
#5D9222 #225D92 #92225D
tetradic
#5D9222 #22928F #572292 #922225
square
#5D9222 #22928F #572292 #922225
split-complementary
#5D9222 #222592 #8F2292
monochromatic
#1E2F0B #3D6016 #5D9222 #7DC42E #9BD857

Accessibility & contrast

On white

3.75
#5D9222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5D9222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9222
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9222#FFFFFF#000000##000000
##5D92221.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988608
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#5E8C7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5d9222;
/* rgb */ color: rgb(93, 146, 34);
/* oklch */ color: oklch(60.1% 0.151 132.0);
Tailwind
colors: {
  custom: {
    50: '#90b266',
    500: '#5d9222',
    950: '#000000',
  },
}
SCSS
$custom: #5d9222;
$custom-light: #90b266;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9222",
  "rgb": {
    "r": 93,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 88.393,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60071,
    "c": 0.15055,
    "h": 132
  },
  "luminance": 0.23
}

Semantic roles & 50–950 ramp

primary
#5D9222
secondary
#8554BC
accent
#43E590
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9222

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

Preview Lab → · Contrast checker → · Palette generator →

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