#5C8D34#5C8D34

#5C8D34 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.9% C 0.131 H 133.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5C8D34
RGBrgb(92, 141, 52)
HSLhsl(93, 46%, 38%)
HSVhsv(93, 63%, 55%)
CMYKcmyk(34.8%, 0%, 63.1%, 44.7%)
CIE-LABlab(53.57, -32.35, 41.21)
CIE-LCHlch(53.57, 52.39, 128.13°)
OKLaboklab(58.88% -0.0902 0.0956)
OKLCHoklch(58.88% 0.131 133.4)
XYZxyz(14.5581, 21.5724, 6.6450)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D34 #65348D
analogous
#888D34 #5C8D34 #348D39
triadic
#5C8D34 #345C8D #8D345C
tetradic
#5C8D34 #34888D #65348D #8D3934
square
#5C8D34 #34888D #65348D #8D3934
split-complementary
#5C8D34 #39348D #8D3488
monochromatic
#223413 #3F6024 #5C8D34 #79BA44 #99CB71

Accessibility & contrast

On white

3.95
#5C8D34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5C8D34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D34
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D34#FFFFFF#000000##000000
##5C8D341.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93822A
Deuteranopia (green-blind)
#8C7F3B
Tritanopia (blue-blind)
#5C887A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d34;
/* rgb */ color: rgb(92, 141, 52);
/* oklch */ color: oklch(58.9% 0.131 133.4);
Tailwind
colors: {
  custom: {
    50: '#8eae6f',
    500: '#5c8d34',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d34;
$custom-light: #8eae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d34",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 52
  },
  "hsl": {
    "h": 93.034,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58876,
    "c": 0.13143,
    "h": 133.4
  },
  "luminance": 0.21573
}

Semantic roles & 50–950 ramp

primary
#5C8D34
secondary
#926AB3
accent
#52D69B
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5C8D34

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

Preview Lab → · Contrast checker → · Palette generator →

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