#5C8A32#5C8A32

#5C8A32 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.1% C 0.129 H 132.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5C8A32
RGBrgb(92, 138, 50)
HSLhsl(91, 47%, 37%)
HSVhsv(91, 64%, 54%)
CMYKcmyk(33.3%, 0%, 63.8%, 45.9%)
CIE-LABlab(52.60, -31.14, 41.05)
CIE-LCHlch(52.60, 51.53, 127.18°)
OKLaboklab(58.08% -0.0871 0.095)
OKLCHoklch(58.08% 0.129 132.5)
XYZxyz(14.0776, 20.6820, 6.2673)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A32 #60328A
analogous
#888A32 #5C8A32 #328A34
triadic
#5C8A32 #325C8A #8A325C
tetradic
#5C8A32 #32888A #60328A #8A3432
square
#5C8A32 #32888A #60328A #8A3432
split-complementary
#5C8A32 #34328A #8A3288
monochromatic
#203011 #3E5D22 #5C8A32 #7AB742 #99CA6C

Accessibility & contrast

On white

4.09
#5C8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5C8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A32
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A32#FFFFFF#000000##000000
##5C8A321.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908028
Deuteranopia (green-blind)
#897C39
Tritanopia (blue-blind)
#5D8577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c8a32;
/* rgb */ color: rgb(92, 138, 50);
/* oklch */ color: oklch(58.1% 0.129 132.5);
Tailwind
colors: {
  custom: {
    50: '#8dac6e',
    500: '#5c8a32',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a32;
$custom-light: #8dac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a32",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 91.364,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5808,
    "c": 0.12888,
    "h": 132.5
  },
  "luminance": 0.20683
}

Semantic roles & 50–950 ramp

primary
#5C8A32
secondary
#8E66B2
accent
#51D697
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5C8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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