#5C8D25#5C8D25

#5C8D25 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.7% C 0.143 H 131.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5C8D25
RGBrgb(92, 141, 37)
HSLhsl(88, 58%, 35%)
HSVhsv(88, 74%, 55%)
CMYKcmyk(34.8%, 0%, 73.8%, 44.7%)
CIE-LABlab(53.45, -33.58, 47.46)
CIE-LCHlch(53.45, 58.14, 125.29°)
OKLaboklab(58.74% -0.0948 0.1067)
OKLCHoklch(58.74% 0.143 131.6)
XYZxyz(14.2723, 21.4581, 5.1397)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D25 #56258D
analogous
#8D8A25 #5C8D25 #288D25
triadic
#5C8D25 #255C8D #8D255C
tetradic
#5C8D25 #258D8A #56258D #8D2528
square
#5C8D25 #258D8A #56258D #8D2528
split-complementary
#5C8D25 #25288D #8A258D
monochromatic
#1D2C0C #3C5D18 #5C8D25 #7CBD32 #9AD359

Accessibility & contrast

On white

3.97
#5C8D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5C8D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D25
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D25#FFFFFF#000000##000000
##5C8D251.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#8D7E2F
Tritanopia (blue-blind)
#5D8779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d25;
/* rgb */ color: rgb(92, 141, 37);
/* oklch */ color: oklch(58.7% 0.143 131.6);
Tailwind
colors: {
  custom: {
    50: '#8eae67',
    500: '#5c8d25',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d25;
$custom-light: #8eae67;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d25",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 88.269,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58737,
    "c": 0.14273,
    "h": 131.6
  },
  "luminance": 0.21459
}

Semantic roles & 50–950 ramp

primary
#5C8D25
secondary
#8456B8
accent
#46E28F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8D25

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

Preview Lab → · Contrast checker → · Palette generator →

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