#5C8F3A#5C8F3A

#5C8F3A is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.5% C 0.129 H 134.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5C8F3A
RGBrgb(92, 143, 58)
HSLhsl(96, 42%, 39%)
HSVhsv(96, 59%, 56%)
CMYKcmyk(35.7%, 0%, 59.4%, 43.9%)
CIE-LABlab(54.27, -32.67, 39.16)
CIE-LCHlch(54.27, 50.99, 129.84°)
OKLaboklab(59.46% -0.0906 0.0918)
OKLCHoklch(59.46% 0.129 134.6)
XYZxyz(14.9995, 22.2251, 7.5017)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F3A #6D3A8F
analogous
#878F3A #5C8F3A #3A8F43
triadic
#5C8F3A #3A5C8F #8F3A5C
tetradic
#5C8F3A #3A878F #6D3A8F #8F433A
square
#5C8F3A #3A878F #6D3A8F #8F433A
split-complementary
#5C8F3A #433A8F #8F3A87
monochromatic
#243817 #406328 #5C8F3A #79B74F #9AC97A

Accessibility & contrast

On white

3.86
#5C8F3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5C8F3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8F3A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8F3A#FFFFFF#000000##000000
##5C8F3A1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948431
Deuteranopia (green-blind)
#8D8040
Tritanopia (blue-blind)
#5B8A7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c8f3a;
/* rgb */ color: rgb(92, 143, 58);
/* oklch */ color: oklch(59.5% 0.129 134.6);
Tailwind
colors: {
  custom: {
    50: '#8db073',
    500: '#5c8f3a',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f3a;
$custom-light: #8db073;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f3a",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 58
  },
  "hsl": {
    "h": 96,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.59462,
    "c": 0.12901,
    "h": 134.6
  },
  "luminance": 0.22226
}

Semantic roles & 50–950 ramp

primary
#5C8F3A
secondary
#9972B3
accent
#56D2A0
background
#F8FAF7
surface
#F0F5ED
border
#CBCFC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5C8F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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