#5FAC2D#5FAC2D

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

Color values

HEX#5FAC2D
RGBrgb(95, 172, 45)
HSLhsl(96, 59%, 43%)
HSVhsv(96, 74%, 67%)
CMYKcmyk(44.8%, 0%, 73.8%, 32.5%)
CIE-LABlab(63.45, -45.32, 54.51)
CIE-LCHlch(63.45, 70.89, 129.74°)
OKLaboklab(66.97% -0.1262 0.1226)
OKLCHoklch(66.97% 0.176 135.8)
XYZxyz(19.9450, 32.1262, 7.6321)
Luminance0.3213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAC2D #7A2DAC
analogous
#9EAC2D #5FAC2D #2DAC3B
triadic
#5FAC2D #2D5FAC #AC2D5F
tetradic
#5FAC2D #2D9EAC #7A2DAC #AC3B2D
square
#5FAC2D #2D9EAC #7A2DAC #AC3B2D
split-complementary
#5FAC2D #3B2DAC #AC2D9E
monochromatic
#294B14 #447B20 #5FAC2D #7DCF47 #9FDC78

Accessibility & contrast

On white

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

On black

7.43
#5FAC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAC2D
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAC2D#FFFFFF#000000##000000
##5FAC2D1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E15
Deuteranopia (green-blind)
#A8973A
Tritanopia (blue-blind)
#5CA693
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5fac2d;
/* rgb */ color: rgb(95, 172, 45);
/* oklch */ color: oklch(67.0% 0.176 135.8);
Tailwind
colors: {
  custom: {
    50: '#93c56f',
    500: '#5fac2d',
    950: '#000000',
  },
}
SCSS
$custom: #5fac2d;
$custom-light: #93c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fac2d",
  "rgb": {
    "r": 95,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 96.378,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66975,
    "c": 0.17595,
    "h": 135.8
  },
  "luminance": 0.32127
}

Semantic roles & 50–950 ramp

primary
#5FAC2D
secondary
#A371C4
accent
#46E2A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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