#5FAC2A#5FAC2A

#5FAC2A is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.0% C 0.178 H 135.6°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5FAC2A
RGBrgb(95, 172, 42)
HSLhsl(96, 61%, 42%)
HSVhsv(96, 76%, 67%)
CMYKcmyk(44.8%, 0%, 75.6%, 32.5%)
CIE-LABlab(63.43, -45.52, 55.55)
CIE-LCHlch(63.43, 71.82, 129.33°)
OKLaboklab(66.95% -0.127 0.1243)
OKLCHoklch(66.95% 0.178 135.6)
XYZxyz(19.8893, 32.1039, 7.3387)
Luminance0.3211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAC2A #772AAC
analogous
#A0AC2A #5FAC2A #2AAC36
triadic
#5FAC2A #2A5FAC #AC2A5F
tetradic
#5FAC2A #2AA0AC #772AAC #AC362A
square
#5FAC2A #2AA0AC #772AAC #AC362A
split-complementary
#5FAC2A #362AAC #AC2AA0
monochromatic
#294A12 #447B1E #5FAC2A #7CD142 #9EDD73

Accessibility & contrast

On white

2.83
#5FAC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#5FAC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAC2A
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAC2A#FFFFFF#000000##000000
##5FAC2A1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E0D
Deuteranopia (green-blind)
#A89737
Tritanopia (blue-blind)
#5CA593
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5fac2a;
/* rgb */ color: rgb(95, 172, 42);
/* oklch */ color: oklch(67.0% 0.178 135.6);
Tailwind
colors: {
  custom: {
    50: '#93c56d',
    500: '#5fac2a',
    950: '#000000',
  },
}
SCSS
$custom: #5fac2a;
$custom-light: #93c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fac2a",
  "rgb": {
    "r": 95,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 95.538,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66954,
    "c": 0.1777,
    "h": 135.6
  },
  "luminance": 0.32105
}

Semantic roles & 50–950 ramp

primary
#5FAC2A
secondary
#A16DC4
accent
#44E4A3
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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