#5C8D3E#5C8D3E

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

Color values

HEX#5C8D3E
RGBrgb(92, 141, 62)
HSLhsl(97, 39%, 40%)
HSVhsv(97, 56%, 55%)
CMYKcmyk(34.8%, 0%, 56%, 44.7%)
CIE-LABlab(53.68, -31.29, 36.51)
CIE-LCHlch(53.68, 48.08, 130.60°)
OKLaboklab(59% -0.0866 0.0865)
OKLCHoklch(59% 0.122 135)
XYZxyz(14.8077, 21.6723, 7.9595)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D3E #6F3E8D
analogous
#848D3E #5C8D3E #3E8D48
triadic
#5C8D3E #3E5C8D #8D3E5C
tetradic
#5C8D3E #3E848D #6F3E8D #8D483E
square
#5C8D3E #3E848D #6F3E8D #8D483E
split-complementary
#5C8D3E #483E8D #8D3E84
monochromatic
#253819 #40622B #5C8D3E #79B454 #9AC77F

Accessibility & contrast

On white

3.94
#5C8D3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5C8D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D3E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D3E#FFFFFF#000000##000000
##5C8D3E1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c8d3e;
/* rgb */ color: rgb(92, 141, 62);
/* oklch */ color: oklch(59.0% 0.122 135.0);
Tailwind
colors: {
  custom: {
    50: '#8dae76',
    500: '#5c8d3e',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d3e;
$custom-light: #8dae76;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d3e",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 97.215,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58998,
    "c": 0.12234,
    "h": 135
  },
  "luminance": 0.21673
}

Semantic roles & 50–950 ramp

primary
#5C8D3E
secondary
#9A76B1
accent
#59CFA2
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5C8D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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