#5EA228#5EA228

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

Color values

HEX#5EA228
RGBrgb(94, 162, 40)
HSLhsl(93, 60%, 40%)
HSVhsv(93, 75%, 64%)
CMYKcmyk(42%, 0%, 75.3%, 36.5%)
CIE-LABlab(60.22, -41.85, 53.10)
CIE-LCHlch(60.22, 67.61, 128.24°)
OKLaboklab(64.31% -0.1171 0.1189)
OKLCHoklch(64.31% 0.167 134.6)
XYZxyz(17.9191, 28.3726, 6.5393)
Luminance0.2837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EA228 #6C28A2
analogous
#9BA228 #5EA228 #28A22F
triadic
#5EA228 #285EA2 #A2285E
tetradic
#5EA228 #289BA2 #6C28A2 #A22F28
square
#5EA228 #289BA2 #6C28A2 #A22F28
split-complementary
#5EA228 #2F28A2 #A2289B
monochromatic
#254010 #42711C #5EA228 #7BCE39 #9CDA6A

Accessibility & contrast

On white

3.15
#5EA228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#5EA228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5EA228
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EA228#FFFFFF#000000##000000
##5EA2281.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5ea228;
/* rgb */ color: rgb(94, 162, 40);
/* oklch */ color: oklch(64.3% 0.167 134.6);
Tailwind
colors: {
  custom: {
    50: '#91be6b',
    500: '#5ea228',
    950: '#000000',
  },
}
SCSS
$custom: #5ea228;
$custom-light: #91be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ea228",
  "rgb": {
    "r": 94,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 93.443,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6431,
    "c": 0.1669,
    "h": 134.6
  },
  "luminance": 0.28374
}

Semantic roles & 50–950 ramp

primary
#5EA228
secondary
#9865C1
accent
#44E49D
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5EA228

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

Preview Lab → · Contrast checker → · Palette generator →

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