#5EAF21#5EAF21

#5EAF21 is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 67.6% C 0.186 H 135.5°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#5EAF21
RGBrgb(94, 175, 33)
HSLhsl(94, 68%, 41%)
HSVhsv(94, 81%, 69%)
CMYKcmyk(46.3%, 0%, 81.1%, 31.4%)
CIE-LABlab(64.28, -47.56, 59.18)
CIE-LCHlch(64.28, 75.92, 128.79°)
OKLaboklab(67.63% -0.133 0.1306)
OKLCHoklch(67.63% 0.186 135.5)
XYZxyz(20.2201, 33.1482, 6.7713)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EAF21 #7221AF
analogous
#A5AF21 #5EAF21 #21AF2B
triadic
#5EAF21 #215EAF #AF215E
tetradic
#5EAF21 #21A5AF #7221AF #AF2B21
square
#5EAF21 #21A5AF #7221AF #AF2B21
split-complementary
#5EAF21 #2B21AF #AF21A5
monochromatic
#27480E #427C17 #5EAF21 #7BD934 #9DE368

Accessibility & contrast

On white

2.75
#5EAF21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#5EAF21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EAF21
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EAF21#FFFFFF#000000##000000
##5EAF211.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#AB9932
Tritanopia (blue-blind)
#5BA895
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5eaf21;
/* rgb */ color: rgb(94, 175, 33);
/* oklch */ color: oklch(67.6% 0.186 135.5);
Tailwind
colors: {
  custom: {
    50: '#93c769',
    500: '#5eaf21',
    950: '#000000',
  },
}
SCSS
$custom: #5eaf21;
$custom-light: #93c769;
$custom-dark: #000000;
JSON
{
  "hex": "#5eaf21",
  "rgb": {
    "r": 94,
    "g": 175,
    "b": 33
  },
  "hsl": {
    "h": 94.225,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67626,
    "c": 0.18634,
    "h": 135.5
  },
  "luminance": 0.33149
}

Semantic roles & 50–950 ramp

primary
#5EAF21
secondary
#9D64C8
accent
#3DEBA0
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5EAF21

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

Preview Lab → · Contrast checker → · Palette generator →

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