#5FAA2A#5FAA2A

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

Color values

HEX#5FAA2A
RGBrgb(95, 170, 42)
HSLhsl(95, 60%, 42%)
HSVhsv(95, 75%, 67%)
CMYKcmyk(44.1%, 0%, 75.3%, 33.3%)
CIE-LABlab(62.80, -44.70, 54.94)
CIE-LCHlch(62.80, 70.83, 129.14°)
OKLaboklab(66.44% -0.1248 0.123)
OKLCHoklch(66.44% 0.175 135.4)
XYZxyz(19.5115, 31.3484, 7.2128)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAA2A #752AAA
analogous
#9FAA2A #5FAA2A #2AAA35
triadic
#5FAA2A #2A5FAA #AA2A5F
tetradic
#5FAA2A #2A9FAA #752AAA #AA352A
square
#5FAA2A #2A9FAA #752AAA #AA352A
split-complementary
#5FAA2A #352AAA #AA2A9F
monochromatic
#284812 #44791E #5FAA2A #7CD041 #9EDC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FAA2A#FFFFFF#000000##000000
##5FAA2A1.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)
#B09C0E
Deuteranopia (green-blind)
#A69637
Tritanopia (blue-blind)
#5DA392
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5faa2a;
/* rgb */ color: rgb(95, 170, 42);
/* oklch */ color: oklch(66.4% 0.175 135.4);
Tailwind
colors: {
  custom: {
    50: '#93c46d',
    500: '#5faa2a',
    950: '#000000',
  },
}
SCSS
$custom: #5faa2a;
$custom-light: #93c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#5faa2a",
  "rgb": {
    "r": 95,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 95.156,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66438,
    "c": 0.17523,
    "h": 135.4
  },
  "luminance": 0.3135
}

Semantic roles & 50–950 ramp

primary
#5FAA2A
secondary
#9F6CC3
accent
#44E4A2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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