#5C8A3B#5C8A3B

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

Color values

HEX#5C8A3B
RGBrgb(92, 138, 59)
HSLhsl(95, 40%, 39%)
HSVhsv(95, 57%, 54%)
CMYKcmyk(33.3%, 0%, 57.2%, 45.9%)
CIE-LABlab(52.69, -30.22, 36.85)
CIE-LCHlch(52.69, 47.65, 129.35°)
OKLaboklab(58.19% -0.0838 0.0869)
OKLCHoklch(58.19% 0.121 134)
XYZxyz(14.2913, 20.7675, 7.3924)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A3B #693B8A
analogous
#838A3B #5C8A3B #3B8A41
triadic
#5C8A3B #3B5C8A #8A3B5C
tetradic
#5C8A3B #3B838A #693B8A #8A413B
square
#5C8A3B #3B838A #693B8A #8A413B
split-complementary
#5C8A3B #413B8A #8A3B83
monochromatic
#233416 #3F5F29 #5C8A3B #79B44F #99C679

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8A3B#FFFFFF#000000##000000
##5C8A3B1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8033
Deuteranopia (green-blind)
#887C40
Tritanopia (blue-blind)
#5C8579
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8a3b;
/* rgb */ color: rgb(92, 138, 59);
/* oklch */ color: oklch(58.2% 0.121 134.0);
Tailwind
colors: {
  custom: {
    50: '#8dac73',
    500: '#5c8a3b',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a3b;
$custom-light: #8dac73;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a3b",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 59
  },
  "hsl": {
    "h": 94.937,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58187,
    "c": 0.12077,
    "h": 134
  },
  "luminance": 0.20768
}

Semantic roles & 50–950 ramp

primary
#5C8A3B
secondary
#9671AF
accent
#58D09E
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5C8A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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