#5C8D3F#5C8D3F

#5C8D3F is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.0% C 0.121 H 135.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5C8D3F
RGBrgb(92, 141, 63)
HSLhsl(98, 38%, 40%)
HSVhsv(98, 55%, 55%)
CMYKcmyk(34.8%, 0%, 55.3%, 44.7%)
CIE-LABlab(53.69, -31.18, 36.02)
CIE-LCHlch(53.69, 47.64, 130.88°)
OKLaboklab(59.01% -0.0862 0.0855)
OKLCHoklch(59.01% 0.121 135.2)
XYZxyz(14.8354, 21.6833, 8.1053)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D3F #703F8D
analogous
#838D3F #5C8D3F #3F8D49
triadic
#5C8D3F #3F5C8D #8D3F5C
tetradic
#5C8D3F #3F838D #703F8D #8D493F
square
#5C8D3F #3F838D #703F8D #8D493F
split-complementary
#5C8D3F #493F8D #8D3F83
monochromatic
#253819 #40632C #5C8D3F #79B356 #9AC680

Accessibility & contrast

On white

3.93
#5C8D3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5C8D3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D3F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D3F#FFFFFF#000000##000000
##5C8D3F1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928338
Deuteranopia (green-blind)
#8B7F44
Tritanopia (blue-blind)
#5B887B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d3f;
/* rgb */ color: rgb(92, 141, 63);
/* oklch */ color: oklch(59.0% 0.121 135.2);
Tailwind
colors: {
  custom: {
    50: '#8dae76',
    500: '#5c8d3f',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d3f;
$custom-light: #8dae76;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d3f",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 63
  },
  "hsl": {
    "h": 97.692,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.59012,
    "c": 0.12138,
    "h": 135.2
  },
  "luminance": 0.21684
}

Semantic roles & 50–950 ramp

primary
#5C8D3F
secondary
#9B77B1
accent
#5ACEA3
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #5C8D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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