#5FA72A#5FA72A

#5FA72A is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 65.7% C 0.171 H 135.1°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5FA72A
RGBrgb(95, 167, 42)
HSLhsl(95, 60%, 41%)
HSVhsv(95, 75%, 65%)
CMYKcmyk(43.1%, 0%, 74.9%, 34.5%)
CIE-LABlab(61.86, -43.47, 54.01)
CIE-LCHlch(61.86, 69.33, 128.83°)
OKLaboklab(65.66% -0.1214 0.1211)
OKLCHoklch(65.66% 0.171 135.1)
XYZxyz(18.9555, 30.2364, 7.0275)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA72A #722AA7
analogous
#9DA72A #5FA72A #2AA733
triadic
#5FA72A #2A5FA7 #A72A5F
tetradic
#5FA72A #2A9DA7 #722AA7 #A7332A
square
#5FA72A #2A9DA7 #722AA7 #A7332A
split-complementary
#5FA72A #332AA7 #A72A9D
monochromatic
#274511 #43761E #5FA72A #7CCF3F #9EDB70

Accessibility & contrast

On white

2.98
#5FA72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#5FA72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA72A
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA72A#FFFFFF#000000##000000
##5FA72A1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9910
Deuteranopia (green-blind)
#A49337
Tritanopia (blue-blind)
#5DA18F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5fa72a;
/* rgb */ color: rgb(95, 167, 42);
/* oklch */ color: oklch(65.7% 0.171 135.1);
Tailwind
colors: {
  custom: {
    50: '#93c26c',
    500: '#5fa72a',
    950: '#000000',
  },
}
SCSS
$custom: #5fa72a;
$custom-light: #93c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa72a",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 94.56,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65665,
    "c": 0.17149,
    "h": 135.1
  },
  "luminance": 0.30237
}

Semantic roles & 50–950 ramp

primary
#5FA72A
secondary
#9D6BC2
accent
#45E3A0
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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