#5C8232#5C8232

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

Color values

HEX#5C8232
RGBrgb(92, 130, 50)
HSLhsl(89, 44%, 35%)
HSVhsv(89, 62%, 51%)
CMYKcmyk(29.2%, 0%, 61.5%, 49%)
CIE-LABlab(50.06, -27.32, 38.22)
CIE-LCHlch(50.06, 46.98, 125.56°)
OKLaboklab(56.02% -0.0766 0.089)
OKLCHoklch(56.02% 0.117 130.7)
XYZxyz(12.9719, 18.4705, 5.8987)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8232 #583282
analogous
#828032 #5C8232 #348232
triadic
#5C8232 #325C82 #82325C
tetradic
#5C8232 #328280 #583282 #823234
square
#5C8232 #328280 #583282 #823234
split-complementary
#5C8232 #323482 #803282
monochromatic
#1D2A10 #3D5621 #5C8232 #7BAE43 #9AC569

Accessibility & contrast

On white

4.47
#5C8232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8232#FFFFFF#000000##000000
##5C82321.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887929
Deuteranopia (green-blind)
#827638
Tritanopia (blue-blind)
#5E7D71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c8232;
/* rgb */ color: rgb(92, 130, 50);
/* oklch */ color: oklch(56.0% 0.117 130.7);
Tailwind
colors: {
  custom: {
    50: '#8da66d',
    500: '#5c8232',
    950: '#000000',
  },
}
SCSS
$custom: #5c8232;
$custom-light: #8da66d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8232",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 88.5,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56018,
    "c": 0.11739,
    "h": 130.7
  },
  "luminance": 0.18471
}

Semantic roles & 50–950 ramp

primary
#5C8232
secondary
#8663AD
accent
#54D491
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C8232

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

Preview Lab → · Contrast checker → · Palette generator →

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