#5C8D28#5C8D28

#5C8D28 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.8% C 0.141 H 131.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5C8D28
RGBrgb(92, 141, 40)
HSLhsl(89, 56%, 35%)
HSVhsv(89, 72%, 55%)
CMYKcmyk(34.8%, 0%, 71.6%, 44.7%)
CIE-LABlab(53.47, -33.37, 46.30)
CIE-LCHlch(53.47, 57.07, 125.78°)
OKLaboklab(58.76% -0.094 0.1047)
OKLCHoklch(58.76% 0.141 131.9)
XYZxyz(14.3213, 21.4777, 5.3981)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D28 #59288D
analogous
#8D8B28 #5C8D28 #298D28
triadic
#5C8D28 #285C8D #8D285C
tetradic
#5C8D28 #288D8B #59288D #8D2829
square
#5C8D28 #288D8B #59288D #8D2829
split-complementary
#5C8D28 #28298D #8B288D
monochromatic
#1E2E0D #3D5D1A #5C8D28 #7BBD36 #99D15E

Accessibility & contrast

On white

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

On black

5.30
#5C8D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D28
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D28#FFFFFF#000000##000000
##5C8D281.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c8d28;
/* rgb */ color: rgb(92, 141, 40);
/* oklch */ color: oklch(58.8% 0.141 131.9);
Tailwind
colors: {
  custom: {
    50: '#8eae68',
    500: '#5c8d28',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d28;
$custom-light: #8eae68;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d28",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 89.109,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58761,
    "c": 0.14072,
    "h": 131.9
  },
  "luminance": 0.21478
}

Semantic roles & 50–950 ramp

primary
#5C8D28
secondary
#875AB7
accent
#49DF92
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8D28

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

Preview Lab → · Contrast checker → · Palette generator →

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