#5C9928#5C9928

#5C9928 is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.9% C 0.157 H 133.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5C9928
RGBrgb(92, 153, 40)
HSLhsl(92, 59%, 38%)
HSVhsv(92, 74%, 60%)
CMYKcmyk(39.9%, 0%, 73.9%, 40%)
CIE-LABlab(57.28, -38.71, 50.15)
CIE-LCHlch(57.28, 63.35, 127.66°)
OKLaboklab(61.87% -0.1085 0.1128)
OKLCHoklch(61.87% 0.157 133.9)
XYZxyz(16.1876, 25.2102, 6.0202)
Luminance0.2521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9928 #652899
analogous
#949928 #5C9928 #28992C
triadic
#5C9928 #285C99 #99285C
tetradic
#5C9928 #289499 #652899 #992C28
square
#5C9928 #289499 #652899 #992C28
split-complementary
#5C9928 #2C2899 #992894
monochromatic
#22380F #3F681B #5C9928 #79CA35 #99D765

Accessibility & contrast

On white

3.48
#5C9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#5C9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9928
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9928#FFFFFF#000000##000000
##5C99281.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D13
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#5C9383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5c9928;
/* rgb */ color: rgb(92, 153, 40);
/* oklch */ color: oklch(61.9% 0.157 133.9);
Tailwind
colors: {
  custom: {
    50: '#8fb76a',
    500: '#5c9928',
    950: '#000000',
  },
}
SCSS
$custom: #5c9928;
$custom-light: #8fb76a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9928",
  "rgb": {
    "r": 92,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 92.389,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61873,
    "c": 0.1565,
    "h": 133.9
  },
  "luminance": 0.25211
}

Semantic roles & 50–950 ramp

primary
#5C9928
secondary
#9260BD
accent
#46E29A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5C9928

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

Preview Lab → · Contrast checker → · Palette generator →

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