#5C8A40#5C8A40

#5C8A40 is a mid, moderate yellow-green. Relative luminance 0.208; OKLCH L 58.3% C 0.116 H 134.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5C8A40
RGBrgb(92, 138, 64)
HSLhsl(97, 37%, 40%)
HSVhsv(97, 54%, 54%)
CMYKcmyk(33.3%, 0%, 53.6%, 45.9%)
CIE-LABlab(52.75, -29.64, 34.40)
CIE-LCHlch(52.75, 45.40, 130.75°)
OKLaboklab(58.26% -0.0819 0.082)
OKLCHoklch(58.26% 0.116 134.9)
XYZxyz(14.4272, 20.8219, 8.1084)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A40 #6E408A
analogous
#818A40 #5C8A40 #408A49
triadic
#5C8A40 #405C8A #8A405C
tetradic
#5C8A40 #40818A #6E408A #8A4940
square
#5C8A40 #40818A #6E408A #8A4940
split-complementary
#5C8A40 #49408A #8A4081
monochromatic
#243619 #40602D #5C8A40 #79B156 #9AC480

Accessibility & contrast

On white

4.07
#5C8A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5C8A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A40
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A40#FFFFFF#000000##000000
##5C8A401.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8039
Deuteranopia (green-blind)
#887D45
Tritanopia (blue-blind)
#5B8579
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8a40;
/* rgb */ color: rgb(92, 138, 64);
/* oklch */ color: oklch(58.3% 0.116 134.9);
Tailwind
colors: {
  custom: {
    50: '#8dac77',
    500: '#5c8a40',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a40;
$custom-light: #8dac77;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a40",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 97.297,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.11588,
    "h": 134.9
  },
  "luminance": 0.20822
}

Semantic roles & 50–950 ramp

primary
#5C8A40
secondary
#9A77AF
accent
#5BCDA2
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #5C8A40

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

Preview Lab → · Contrast checker → · Palette generator →

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