#5F9E28#5F9E28

#5F9E28 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.3% C 0.161 H 133.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5F9E28
RGBrgb(95, 158, 40)
HSLhsl(92, 60%, 39%)
HSVhsv(92, 75%, 62%)
CMYKcmyk(39.9%, 0%, 74.7%, 38%)
CIE-LABlab(59.01, -39.80, 51.92)
CIE-LCHlch(59.01, 65.42, 127.47°)
OKLaboklab(63.33% -0.1117 0.1164)
OKLCHoklch(63.33% 0.161 133.8)
XYZxyz(17.3289, 27.0390, 6.3130)
Luminance0.2704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9E28 #67289E
analogous
#9A9E28 #5F9E28 #289E2C
triadic
#5F9E28 #285F9E #9E285F
tetradic
#5F9E28 #289A9E #67289E #9E2C28
square
#5F9E28 #289A9E #67289E #9E2C28
split-complementary
#5F9E28 #2C289E #9E289A
monochromatic
#243C0F #426D1C #5F9E28 #7DCC37 #9CD968

Accessibility & contrast

On white

3.28
#5F9E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#5F9E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9E28
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9E28#FFFFFF#000000##000000
##5F9E281.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49111
Deuteranopia (green-blind)
#9C8C34
Tritanopia (blue-blind)
#5F9887
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f9e28;
/* rgb */ color: rgb(95, 158, 40);
/* oklch */ color: oklch(63.3% 0.161 133.8);
Tailwind
colors: {
  custom: {
    50: '#92bb6a',
    500: '#5f9e28',
    950: '#000000',
  },
}
SCSS
$custom: #5f9e28;
$custom-light: #92bb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9e28",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 40
  },
  "hsl": {
    "h": 92.034,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63329,
    "c": 0.16131,
    "h": 133.8
  },
  "luminance": 0.2704
}

Semantic roles & 50–950 ramp

primary
#5F9E28
secondary
#9463BF
accent
#45E399
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5F9E28

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

Preview Lab → · Contrast checker → · Palette generator →

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