#5FAC21#5FAC21

#5FAC21 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 66.9% C 0.182 H 135.0°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#5FAC21
RGBrgb(95, 172, 33)
HSLhsl(93, 68%, 40%)
HSVhsv(93, 81%, 67%)
CMYKcmyk(44.8%, 0%, 80.8%, 32.5%)
CIE-LABlab(63.38, -46.03, 58.37)
CIE-LCHlch(63.38, 74.33, 128.26°)
OKLaboklab(66.9% -0.1289 0.1288)
OKLCHoklch(66.9% 0.182 135)
XYZxyz(19.7459, 32.0466, 6.5837)
Luminance0.3205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAC21 #6E21AC
analogous
#A5AC21 #5FAC21 #21AC28
triadic
#5FAC21 #215FAC #AC215F
tetradic
#5FAC21 #21A5AC #6E21AC #AC2821
square
#5FAC21 #21A5AC #6E21AC #AC2821
split-complementary
#5FAC21 #2821AC #AC21A5
monochromatic
#26450D #437917 #5FAC21 #7CD832 #9DE266

Accessibility & contrast

On white

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

On black

7.41
#5FAC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAC21
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAC21#FFFFFF#000000##000000
##5FAC211.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#A89731
Tritanopia (blue-blind)
#5DA593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fac21;
/* rgb */ color: rgb(95, 172, 33);
/* oklch */ color: oklch(66.9% 0.182 135.0);
Tailwind
colors: {
  custom: {
    50: '#94c569',
    500: '#5fac21',
    950: '#000000',
  },
}
SCSS
$custom: #5fac21;
$custom-light: #94c569;
$custom-dark: #000000;
JSON
{
  "hex": "#5fac21",
  "rgb": {
    "r": 95,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 93.237,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.669,
    "c": 0.18227,
    "h": 135
  },
  "luminance": 0.32048
}

Semantic roles & 50–950 ramp

primary
#5FAC21
secondary
#9A62C7
accent
#3DEB9D
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAC21

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

Preview Lab → · Contrast checker → · Palette generator →

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