#5EA22B#5EA22B

#5EA22B is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.3% C 0.165 H 134.8°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5EA22B
RGBrgb(94, 162, 43)
HSLhsl(94, 58%, 40%)
HSVhsv(94, 73%, 64%)
CMYKcmyk(42%, 0%, 73.5%, 36.5%)
CIE-LABlab(60.24, -41.65, 52.03)
CIE-LCHlch(60.24, 66.65, 128.68°)
OKLaboklab(64.33% -0.1164 0.1171)
OKLCHoklch(64.33% 0.165 134.8)
XYZxyz(17.9721, 28.3938, 6.8186)
Luminance0.2839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EA22B #6F2BA2
analogous
#99A22B #5EA22B #2BA234
triadic
#5EA22B #2B5EA2 #A22B5E
tetradic
#5EA22B #2B99A2 #6F2BA2 #A2342B
square
#5EA22B #2B99A2 #6F2BA2 #A2342B
split-complementary
#5EA22B #342BA2 #A22B99
monochromatic
#264111 #42721E #5EA22B #7BCC3E #9CD96F

Accessibility & contrast

On white

3.14
#5EA22B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#5EA22B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5EA22B
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EA22B#FFFFFF#000000##000000
##5EA22B1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89515
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#5D9C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ea22b;
/* rgb */ color: rgb(94, 162, 43);
/* oklch */ color: oklch(64.3% 0.165 134.8);
Tailwind
colors: {
  custom: {
    50: '#91be6c',
    500: '#5ea22b',
    950: '#000000',
  },
}
SCSS
$custom: #5ea22b;
$custom-light: #91be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ea22b",
  "rgb": {
    "r": 94,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 94.286,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64331,
    "c": 0.1651,
    "h": 134.8
  },
  "luminance": 0.28395
}

Semantic roles & 50–950 ramp

primary
#5EA22B
secondary
#9B69C0
accent
#47E19F
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5EA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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