#5C8222#5C8222

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

Color values

HEX#5C8222
RGBrgb(92, 130, 34)
HSLhsl(84, 59%, 32%)
HSVhsv(84, 74%, 51%)
CMYKcmyk(29.2%, 0%, 73.8%, 49%)
CIE-LABlab(49.92, -28.64, 45.09)
CIE-LCHlch(49.92, 53.42, 122.42°)
OKLaboklab(55.86% -0.0816 0.1012)
OKLCHoklch(55.86% 0.13 128.9)
XYZxyz(12.6850, 18.3557, 4.3878)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8222 #482282
analogous
#827822 #5C8222 #2C8222
triadic
#5C8222 #225C82 #82225C
tetradic
#5C8222 #228278 #482282 #82222C
square
#5C8222 #228278 #482282 #82222C
split-complementary
#5C8222 #222C82 #782282
monochromatic
#172109 #3A5115 #5C8222 #7EB32F #9DD14E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8222#FFFFFF#000000##000000
##5C82221.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)
#887811
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#5F7C6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c8222;
/* rgb */ color: rgb(92, 130, 34);
/* oklch */ color: oklch(55.9% 0.130 128.9);
Tailwind
colors: {
  custom: {
    50: '#8ea664',
    500: '#5c8222',
    950: '#000000',
  },
}
SCSS
$custom: #5c8222;
$custom-light: #8ea664;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8222",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 83.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55862,
    "c": 0.13006,
    "h": 128.9
  },
  "luminance": 0.18356
}

Semantic roles & 50–950 ramp

primary
#5C8222
secondary
#754CB4
accent
#46E284
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5C8222

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

Preview Lab → · Contrast checker → · Palette generator →

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