#5C8A3A#5C8A3A

#5C8A3A is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.2% C 0.122 H 133.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5C8A3A
RGBrgb(92, 138, 58)
HSLhsl(95, 41%, 38%)
HSVhsv(95, 58%, 54%)
CMYKcmyk(33.3%, 0%, 58%, 45.9%)
CIE-LABlab(52.68, -30.33, 37.33)
CIE-LCHlch(52.68, 48.10, 129.09°)
OKLaboklab(58.17% -0.0842 0.0879)
OKLCHoklch(58.17% 0.122 133.8)
XYZxyz(14.2656, 20.7572, 7.2571)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A3A #683A8A
analogous
#848A3A #5C8A3A #3A8A40
triadic
#5C8A3A #3A5C8A #8A3A5C
tetradic
#5C8A3A #3A848A #683A8A #8A403A
square
#5C8A3A #3A848A #683A8A #8A403A
split-complementary
#5C8A3A #403A8A #8A3A84
monochromatic
#233416 #3F5F28 #5C8A3A #79B44D #99C678

Accessibility & contrast

On white

4.08
#5C8A3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5C8A3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A3A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A3A#FFFFFF#000000##000000
##5C8A3A1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8032
Deuteranopia (green-blind)
#897C40
Tritanopia (blue-blind)
#5C8578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8a3a;
/* rgb */ color: rgb(92, 138, 58);
/* oklch */ color: oklch(58.2% 0.122 133.8);
Tailwind
colors: {
  custom: {
    50: '#8dac73',
    500: '#5c8a3a',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a3a;
$custom-light: #8dac73;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a3a",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 58
  },
  "hsl": {
    "h": 94.5,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.58174,
    "c": 0.12171,
    "h": 133.8
  },
  "luminance": 0.20758
}

Semantic roles & 50–950 ramp

primary
#5C8A3A
secondary
#9570B0
accent
#57D19D
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5C8A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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