#5C8A31#5C8A31

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

Color values

HEX#5C8A31
RGBrgb(92, 138, 49)
HSLhsl(91, 48%, 37%)
HSVhsv(91, 64%, 54%)
CMYKcmyk(33.3%, 0%, 64.5%, 45.9%)
CIE-LABlab(52.59, -31.24, 41.50)
CIE-LCHlch(52.59, 51.94, 126.97°)
OKLaboklab(58.07% -0.0874 0.0958)
OKLCHoklch(58.07% 0.13 132.4)
XYZxyz(14.0563, 20.6735, 6.1549)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A31 #5F318A
analogous
#898A31 #5C8A31 #318A32
triadic
#5C8A31 #315C8A #8A315C
tetradic
#5C8A31 #31898A #5F318A #8A3231
square
#5C8A31 #31898A #5F318A #8A3231
split-complementary
#5C8A31 #32318A #8A3189
monochromatic
#203011 #3E5D21 #5C8A31 #7AB741 #99CA6B

Accessibility & contrast

On white

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

On black

5.13
#5C8A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A31
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A31#FFFFFF#000000##000000
##5C8A311.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c8a31;
/* rgb */ color: rgb(92, 138, 49);
/* oklch */ color: oklch(58.1% 0.130 132.4);
Tailwind
colors: {
  custom: {
    50: '#8dac6d',
    500: '#5c8a31',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a31;
$custom-light: #8dac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a31",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 91.011,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58069,
    "c": 0.12972,
    "h": 132.4
  },
  "luminance": 0.20674
}

Semantic roles & 50–950 ramp

primary
#5C8A31
secondary
#8D65B2
accent
#51D796
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5C8A31

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

Preview Lab → · Contrast checker → · Palette generator →

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