#5C8322#5C8322

#5C8322 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.1% C 0.131 H 129.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5C8322
RGBrgb(92, 131, 34)
HSLhsl(84, 59%, 32%)
HSVhsv(84, 74%, 51%)
CMYKcmyk(29.8%, 0%, 74%, 48.6%)
CIE-LABlab(50.24, -29.12, 45.41)
CIE-LCHlch(50.24, 53.95, 122.67°)
OKLaboklab(56.12% -0.083 0.1019)
OKLCHoklch(56.12% 0.131 129.2)
XYZxyz(12.8186, 18.6231, 4.4323)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8322 #492283
analogous
#837A22 #5C8322 #2B8322
triadic
#5C8322 #225C83 #83225C
tetradic
#5C8322 #22837A #492283 #83222B
square
#5C8322 #22837A #492283 #83222B
split-complementary
#5C8322 #222B83 #7A2283
monochromatic
#182209 #3A5215 #5C8322 #7EB42F #9DD14E

Accessibility & contrast

On white

4.44
#5C8322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5C8322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8322
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8322#FFFFFF#000000##000000
##5C83221.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897911
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#5F7D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5c8322;
/* rgb */ color: rgb(92, 131, 34);
/* oklch */ color: oklch(56.1% 0.131 129.2);
Tailwind
colors: {
  custom: {
    50: '#8ea764',
    500: '#5c8322',
    950: '#000000',
  },
}
SCSS
$custom: #5c8322;
$custom-light: #8ea764;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8322",
  "rgb": {
    "r": 92,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 84.124,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56121,
    "c": 0.1314,
    "h": 129.2
  },
  "luminance": 0.18623
}

Semantic roles & 50–950 ramp

primary
#5C8322
secondary
#764CB4
accent
#46E285
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5C8322

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

Preview Lab → · Contrast checker → · Palette generator →

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