#5FA72C#5FA72C

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

Color values

HEX#5FA72C
RGBrgb(95, 167, 44)
HSLhsl(95, 58%, 41%)
HSVhsv(95, 74%, 65%)
CMYKcmyk(43.1%, 0%, 73.7%, 34.5%)
CIE-LABlab(61.87, -43.33, 53.31)
CIE-LCHlch(61.87, 68.70, 129.11°)
OKLaboklab(65.68% -0.1209 0.1199)
OKLCHoklch(65.68% 0.17 135.3)
XYZxyz(18.9922, 30.2511, 7.2207)
Luminance0.3025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA72C #742CA7
analogous
#9DA72C #5FA72C #2CA737
triadic
#5FA72C #2C5FA7 #A72C5F
tetradic
#5FA72C #2C9DA7 #742CA7 #A7372C
square
#5FA72C #2C9DA7 #742CA7 #A7372C
split-complementary
#5FA72C #372CA7 #A72C9D
monochromatic
#284612 #43771F #5FA72C #7CCD43 #9EDA73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA72C#FFFFFF#000000##000000
##5FA72C1.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)
#AD9915
Deuteranopia (green-blind)
#A49338
Tritanopia (blue-blind)
#5DA18F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5fa72c;
/* rgb */ color: rgb(95, 167, 44);
/* oklch */ color: oklch(65.7% 0.170 135.3);
Tailwind
colors: {
  custom: {
    50: '#92c26d',
    500: '#5fa72c',
    950: '#000000',
  },
}
SCSS
$custom: #5fa72c;
$custom-light: #92c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa72c",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 44
  },
  "hsl": {
    "h": 95.122,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6568,
    "c": 0.1703,
    "h": 135.3
  },
  "luminance": 0.30252
}

Semantic roles & 50–950 ramp

primary
#5FA72C
secondary
#9F6DC2
accent
#46E2A1
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1208
muted
#7E817B

Preview Lab

Preview with #5FA72C

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

Preview Lab → · Contrast checker → · Palette generator →

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