#5FAC2C#5FAC2C

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

Color values

HEX#5FAC2C
RGBrgb(95, 172, 44)
HSLhsl(96, 59%, 42%)
HSVhsv(96, 74%, 67%)
CMYKcmyk(44.8%, 0%, 74.4%, 32.5%)
CIE-LABlab(63.44, -45.39, 54.87)
CIE-LCHlch(63.44, 71.21, 129.60°)
OKLaboklab(66.97% -0.1265 0.1232)
OKLCHoklch(66.97% 0.177 135.8)
XYZxyz(19.9260, 32.1186, 7.5319)
Luminance0.3212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAC2C #792CAC
analogous
#9FAC2C #5FAC2C #2CAC39
triadic
#5FAC2C #2C5FAC #AC2C5F
tetradic
#5FAC2C #2C9FAC #792CAC #AC392C
square
#5FAC2C #2C9FAC #792CAC #AC392C
split-complementary
#5FAC2C #392CAC #AC2C9F
monochromatic
#294B13 #447B20 #5FAC2C #7DD046 #9FDC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FAC2C#FFFFFF#000000##000000
##5FAC2C1.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)
#B29E12
Deuteranopia (green-blind)
#A89739
Tritanopia (blue-blind)
#5CA593
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5fac2c;
/* rgb */ color: rgb(95, 172, 44);
/* oklch */ color: oklch(67.0% 0.177 135.8);
Tailwind
colors: {
  custom: {
    50: '#93c56e',
    500: '#5fac2c',
    950: '#000000',
  },
}
SCSS
$custom: #5fac2c;
$custom-light: #93c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fac2c",
  "rgb": {
    "r": 95,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 96.094,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66967,
    "c": 0.17655,
    "h": 135.8
  },
  "luminance": 0.3212
}

Semantic roles & 50–950 ramp

primary
#5FAC2C
secondary
#A270C4
accent
#45E2A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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