#5FA72F#5FA72F

#5FA72F is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 65.7% C 0.168 H 135.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5FA72F
RGBrgb(95, 167, 47)
HSLhsl(96, 56%, 42%)
HSVhsv(96, 72%, 65%)
CMYKcmyk(43.1%, 0%, 71.9%, 34.5%)
CIE-LABlab(61.89, -43.12, 52.21)
CIE-LCHlch(61.89, 67.71, 129.56°)
OKLaboklab(65.7% -0.1202 0.118)
OKLCHoklch(65.7% 0.168 135.5)
XYZxyz(19.0507, 30.2745, 7.5285)
Luminance0.3028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA72F #772FA7
analogous
#9BA72F #5FA72F #2FA73B
triadic
#5FA72F #2F5FA7 #A72F5F
tetradic
#5FA72F #2F9BA7 #772FA7 #A73B2F
square
#5FA72F #2F9BA7 #772FA7 #A73B2F
split-complementary
#5FA72F #3B2FA7 #A72F9B
monochromatic
#294714 #447722 #5FA72F #7CCB48 #9ED978

Accessibility & contrast

On white

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

On black

7.06
#5FA72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA72F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA72F#FFFFFF#000000##000000
##5FA72F1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5fa72f;
/* rgb */ color: rgb(95, 167, 47);
/* oklch */ color: oklch(65.7% 0.168 135.5);
Tailwind
colors: {
  custom: {
    50: '#92c26f',
    500: '#5fa72f',
    950: '#000000',
  },
}
SCSS
$custom: #5fa72f;
$custom-light: #92c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa72f",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 96,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65702,
    "c": 0.16843,
    "h": 135.5
  },
  "luminance": 0.30276
}

Semantic roles & 50–950 ramp

primary
#5FA72F
secondary
#A171C1
accent
#48DFA3
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1208
muted
#7E817B

Preview Lab

Preview with #5FA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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