#5C9222#5C9222

#5C9222 is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.0% C 0.151 H 132.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5C9222
RGBrgb(92, 146, 34)
HSLhsl(89, 62%, 35%)
HSVhsv(89, 77%, 57%)
CMYKcmyk(37%, 0%, 76.7%, 42.7%)
CIE-LABlab(55.02, -36.03, 50.10)
CIE-LCHlch(55.02, 61.71, 125.72°)
OKLaboklab(60.01% -0.1017 0.1117)
OKLCHoklch(60.01% 0.151 132.3)
XYZxyz(14.9811, 22.9479, 5.1531)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9222 #582292
analogous
#929022 #5C9222 #249222
triadic
#5C9222 #225C92 #92225C
tetradic
#5C9222 #229290 #582292 #922224
square
#5C9222 #229290 #582292 #922224
split-complementary
#5C9222 #222492 #902292
monochromatic
#1D2F0B #3D6016 #5C9222 #7BC42E #9AD857

Accessibility & contrast

On white

3.76
#5C9222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5C9222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9222
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9222#FFFFFF#000000##000000
##5C92221.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c9222;
/* rgb */ color: rgb(92, 146, 34);
/* oklch */ color: oklch(60.0% 0.151 132.3);
Tailwind
colors: {
  custom: {
    50: '#8fb266',
    500: '#5c9222',
    950: '#000000',
  },
}
SCSS
$custom: #5c9222;
$custom-light: #8fb266;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9222",
  "rgb": {
    "r": 92,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 88.929,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60013,
    "c": 0.15109,
    "h": 132.3
  },
  "luminance": 0.22949
}

Semantic roles & 50–950 ramp

primary
#5C9222
secondary
#8654BC
accent
#43E591
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C9222

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

Preview Lab → · Contrast checker → · Palette generator →

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