#5F9C28#5F9C28

#5F9C28 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 62.8% C 0.159 H 133.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5F9C28
RGBrgb(95, 156, 40)
HSLhsl(92, 59%, 38%)
HSVhsv(92, 74%, 61%)
CMYKcmyk(39.1%, 0%, 74.4%, 38.8%)
CIE-LABlab(58.38, -38.94, 51.30)
CIE-LCHlch(58.38, 64.40, 127.20°)
OKLaboklab(62.81% -0.1093 0.1151)
OKLCHoklch(62.81% 0.159 133.5)
XYZxyz(16.9905, 26.3622, 6.2003)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9C28 #65289C
analogous
#999C28 #5F9C28 #289C2B
triadic
#5F9C28 #285F9C #9C285F
tetradic
#5F9C28 #28999C #65289C #9C2B28
square
#5F9C28 #28999C #65289C #9C2B28
split-complementary
#5F9C28 #2B289C #9C2899
monochromatic
#243B0F #416B1C #5F9C28 #7DCB36 #9CD867

Accessibility & contrast

On white

3.35
#5F9C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#5F9C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9C28
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9C28#FFFFFF#000000##000000
##5F9C281.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F12
Deuteranopia (green-blind)
#9A8B33
Tritanopia (blue-blind)
#5F9686
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f9c28;
/* rgb */ color: rgb(95, 156, 40);
/* oklch */ color: oklch(62.8% 0.159 133.5);
Tailwind
colors: {
  custom: {
    50: '#92b96a',
    500: '#5f9c28',
    950: '#000000',
  },
}
SCSS
$custom: #5f9c28;
$custom-light: #92b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9c28",
  "rgb": {
    "r": 95,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 91.552,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62813,
    "c": 0.15875,
    "h": 133.5
  },
  "luminance": 0.26363
}

Semantic roles & 50–950 ramp

primary
#5F9C28
secondary
#9262BE
accent
#45E298
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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