#5FAC2B#5FAC2B

#5FAC2B is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.0% C 0.177 H 135.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5FAC2B
RGBrgb(95, 172, 43)
HSLhsl(96, 60%, 42%)
HSVhsv(96, 75%, 67%)
CMYKcmyk(44.8%, 0%, 75%, 32.5%)
CIE-LABlab(63.43, -45.46, 55.21)
CIE-LCHlch(63.43, 71.52, 129.46°)
OKLaboklab(66.96% -0.1267 0.1237)
OKLCHoklch(66.96% 0.177 135.7)
XYZxyz(19.9074, 32.1112, 7.4341)
Luminance0.3211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAC2B #782BAC
analogous
#A0AC2B #5FAC2B #2BAC38
triadic
#5FAC2B #2B5FAC #AC2B5F
tetradic
#5FAC2B #2BA0AC #782BAC #AC382B
square
#5FAC2B #2BA0AC #782BAC #AC382B
split-complementary
#5FAC2B #382BAC #AC2BA0
monochromatic
#294A13 #447B1F #5FAC2B #7DD044 #9FDC75

Accessibility & contrast

On white

2.83
#5FAC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#5FAC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAC2B
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAC2B#FFFFFF#000000##000000
##5FAC2B1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E10
Deuteranopia (green-blind)
#A89738
Tritanopia (blue-blind)
#5CA593
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5fac2b;
/* rgb */ color: rgb(95, 172, 43);
/* oklch */ color: oklch(67.0% 0.177 135.7);
Tailwind
colors: {
  custom: {
    50: '#93c56e',
    500: '#5fac2b',
    950: '#000000',
  },
}
SCSS
$custom: #5fac2b;
$custom-light: #93c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fac2b",
  "rgb": {
    "r": 95,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 95.814,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6696,
    "c": 0.17713,
    "h": 135.7
  },
  "luminance": 0.32112
}

Semantic roles & 50–950 ramp

primary
#5FAC2B
secondary
#A26FC4
accent
#45E3A3
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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