#5EAC21#5EAC21

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

Color values

HEX#5EAC21
RGBrgb(94, 172, 33)
HSLhsl(94, 68%, 40%)
HSVhsv(94, 81%, 67%)
CMYKcmyk(45.3%, 0%, 80.8%, 32.5%)
CIE-LABlab(63.34, -46.36, 58.31)
CIE-LCHlch(63.34, 74.49, 128.49°)
OKLaboklab(66.85% -0.1297 0.1287)
OKLCHoklch(66.85% 0.183 135.2)
XYZxyz(19.6427, 31.9933, 6.5789)
Luminance0.3200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EAC21 #6F21AC
analogous
#A3AC21 #5EAC21 #21AC29
triadic
#5EAC21 #215EAC #AC215E
tetradic
#5EAC21 #21A3AC #6F21AC #AC2921
square
#5EAC21 #21A3AC #6F21AC #AC2921
split-complementary
#5EAC21 #2921AC #AC21A3
monochromatic
#26450D #427917 #5EAC21 #7BD832 #9CE266

Accessibility & contrast

On white

2.84
#5EAC21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#5EAC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EAC21
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EAC21#FFFFFF#000000##000000
##5EAC211.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5eac21;
/* rgb */ color: rgb(94, 172, 33);
/* oklch */ color: oklch(66.9% 0.183 135.2);
Tailwind
colors: {
  custom: {
    50: '#93c569',
    500: '#5eac21',
    950: '#000000',
  },
}
SCSS
$custom: #5eac21;
$custom-light: #93c569;
$custom-dark: #000000;
JSON
{
  "hex": "#5eac21",
  "rgb": {
    "r": 94,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 93.669,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66852,
    "c": 0.18277,
    "h": 135.2
  },
  "luminance": 0.31995
}

Semantic roles & 50–950 ramp

primary
#5EAC21
secondary
#9B62C7
accent
#3DEB9F
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5EAC21

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

Preview Lab → · Contrast checker → · Palette generator →

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