#5FA72B#5FA72B

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

Color values

HEX#5FA72B
RGBrgb(95, 167, 43)
HSLhsl(95, 59%, 41%)
HSVhsv(95, 74%, 65%)
CMYKcmyk(43.1%, 0%, 74.3%, 34.5%)
CIE-LABlab(61.86, -43.40, 53.66)
CIE-LCHlch(61.86, 69.02, 128.97°)
OKLaboklab(65.67% -0.1212 0.1205)
OKLCHoklch(65.67% 0.171 135.2)
XYZxyz(18.9736, 30.2437, 7.1229)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA72B #732BA7
analogous
#9DA72B #5FA72B #2BA735
triadic
#5FA72B #2B5FA7 #A72B5F
tetradic
#5FA72B #2B9DA7 #732BA7 #A7352B
square
#5FA72B #2B9DA7 #732BA7 #A7352B
split-complementary
#5FA72B #352BA7 #A72B9D
monochromatic
#284612 #43761E #5FA72B #7CCE41 #9EDB72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA72B#FFFFFF#000000##000000
##5FA72B1.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)
#AD9913
Deuteranopia (green-blind)
#A49337
Tritanopia (blue-blind)
#5DA18F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5fa72b;
/* rgb */ color: rgb(95, 167, 43);
/* oklch */ color: oklch(65.7% 0.171 135.2);
Tailwind
colors: {
  custom: {
    50: '#93c26d',
    500: '#5fa72b',
    950: '#000000',
  },
}
SCSS
$custom: #5fa72b;
$custom-light: #93c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa72b",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 94.839,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65672,
    "c": 0.1709,
    "h": 135.2
  },
  "luminance": 0.30245
}

Semantic roles & 50–950 ramp

primary
#5FA72B
secondary
#9E6CC2
accent
#46E2A1
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA72B

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

Preview Lab → · Contrast checker → · Palette generator →

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