#5C8D38#5C8D38

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

Color values

HEX#5C8D38
RGBrgb(92, 141, 56)
HSLhsl(95, 43%, 39%)
HSVhsv(95, 60%, 55%)
CMYKcmyk(34.8%, 0%, 60.3%, 44.7%)
CIE-LABlab(53.61, -31.95, 39.37)
CIE-LCHlch(53.61, 50.70, 129.06°)
OKLaboklab(58.92% -0.0888 0.0921)
OKLCHoklch(58.92% 0.128 134)
XYZxyz(14.6520, 21.6100, 7.1398)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D38 #69388D
analogous
#868D38 #5C8D38 #388D3E
triadic
#5C8D38 #385C8D #8D385C
tetradic
#5C8D38 #38868D #69388D #8D3E38
square
#5C8D38 #38868D #69388D #8D3E38
split-complementary
#5C8D38 #3E388D #8D3886
monochromatic
#233515 #3F6127 #5C8D38 #79B74B #99C977

Accessibility & contrast

On white

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

On black

5.32
#5C8D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D38
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D38#FFFFFF#000000##000000
##5C8D381.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92832F
Deuteranopia (green-blind)
#8B7F3E
Tritanopia (blue-blind)
#5C887B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d38;
/* rgb */ color: rgb(92, 141, 56);
/* oklch */ color: oklch(58.9% 0.128 134.0);
Tailwind
colors: {
  custom: {
    50: '#8dae72',
    500: '#5c8d38',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d38;
$custom-light: #8dae72;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d38",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 94.588,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58922,
    "c": 0.12794,
    "h": 134
  },
  "luminance": 0.21611
}

Semantic roles & 50–950 ramp

primary
#5C8D38
secondary
#966FB2
accent
#55D39E
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5C8D38

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

Preview Lab → · Contrast checker → · Palette generator →

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