#5FAA28#5FAA28

#5FAA28 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.4% C 0.176 H 135.3°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5FAA28
RGBrgb(95, 170, 40)
HSLhsl(95, 62%, 41%)
HSVhsv(95, 76%, 67%)
CMYKcmyk(44.1%, 0%, 76.5%, 33.3%)
CIE-LABlab(62.79, -44.83, 55.61)
CIE-LCHlch(62.79, 71.43, 128.87°)
OKLaboklab(66.43% -0.1253 0.1241)
OKLCHoklch(66.43% 0.176 135.3)
XYZxyz(19.4766, 31.3344, 7.0290)
Luminance0.3134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAA28 #7328AA
analogous
#A0AA28 #5FAA28 #28AA32
triadic
#5FAA28 #285FAA #AA285F
tetradic
#5FAA28 #28A0AA #7328AA #AA3228
square
#5FAA28 #28A0AA #7328AA #AA3228
split-complementary
#5FAA28 #3228AA #AA28A0
monochromatic
#284711 #43781C #5FAA28 #7CD23E #9EDD6F

Accessibility & contrast

On white

2.89
#5FAA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#5FAA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAA28
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAA28#FFFFFF#000000##000000
##5FAA281.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C08
Deuteranopia (green-blind)
#A69636
Tritanopia (blue-blind)
#5DA391
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5faa28;
/* rgb */ color: rgb(95, 170, 40);
/* oklch */ color: oklch(66.4% 0.176 135.3);
Tailwind
colors: {
  custom: {
    50: '#93c46c',
    500: '#5faa28',
    950: '#000000',
  },
}
SCSS
$custom: #5faa28;
$custom-light: #93c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#5faa28",
  "rgb": {
    "r": 95,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 94.615,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66425,
    "c": 0.17634,
    "h": 135.3
  },
  "luminance": 0.31336
}

Semantic roles & 50–950 ramp

primary
#5FAA28
secondary
#9E6AC4
accent
#43E5A0
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAA28

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

Preview Lab → · Contrast checker → · Palette generator →

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