#5FAA2B#5FAA2B

#5FAA2B is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.4% C 0.175 H 135.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5FAA2B
RGBrgb(95, 170, 43)
HSLhsl(95, 60%, 42%)
HSVhsv(95, 75%, 67%)
CMYKcmyk(44.1%, 0%, 74.7%, 33.3%)
CIE-LABlab(62.81, -44.64, 54.59)
CIE-LCHlch(62.81, 70.52, 129.27°)
OKLaboklab(66.44% -0.1245 0.1224)
OKLCHoklch(66.44% 0.175 135.5)
XYZxyz(19.5296, 31.3556, 7.3082)
Luminance0.3136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAA2B #762BAA
analogous
#9FAA2B #5FAA2B #2BAA37
triadic
#5FAA2B #2B5FAA #AA2B5F
tetradic
#5FAA2B #2B9FAA #762BAA #AA372B
square
#5FAA2B #2B9FAA #762BAA #AA372B
split-complementary
#5FAA2B #372BAA #AA2B9F
monochromatic
#284812 #44791F #5FAA2B #7CCF43 #9EDC74

Accessibility & contrast

On white

2.89
#5FAA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#5FAA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAA2B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAA2B#FFFFFF#000000##000000
##5FAA2B1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C11
Deuteranopia (green-blind)
#A69638
Tritanopia (blue-blind)
#5DA492
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5faa2b;
/* rgb */ color: rgb(95, 170, 43);
/* oklch */ color: oklch(66.4% 0.175 135.5);
Tailwind
colors: {
  custom: {
    50: '#93c46d',
    500: '#5faa2b',
    950: '#000000',
  },
}
SCSS
$custom: #5faa2b;
$custom-light: #93c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#5faa2b",
  "rgb": {
    "r": 95,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 95.433,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66445,
    "c": 0.17465,
    "h": 135.5
  },
  "luminance": 0.31357
}

Semantic roles & 50–950 ramp

primary
#5FAA2B
secondary
#A06EC3
accent
#45E3A2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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