#5EA227#5EA227

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

Color values

HEX#5EA227
RGBrgb(94, 162, 39)
HSLhsl(93, 61%, 39%)
HSVhsv(93, 76%, 64%)
CMYKcmyk(42%, 0%, 75.9%, 36.5%)
CIE-LABlab(60.22, -41.91, 53.44)
CIE-LCHlch(60.22, 67.92, 128.11°)
OKLaboklab(64.3% -0.1174 0.1195)
OKLCHoklch(64.3% 0.167 134.5)
XYZxyz(17.9023, 28.3659, 6.4509)
Luminance0.2837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EA227 #6B27A2
analogous
#9CA227 #5EA227 #27A22E
triadic
#5EA227 #275EA2 #A2275E
tetradic
#5EA227 #279CA2 #6B27A2 #A22E27
square
#5EA227 #279CA2 #6B27A2 #A22E27
split-complementary
#5EA227 #2E27A2 #A2279C
monochromatic
#253F0F #41711B #5EA227 #7BCF37 #9CDB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5EA227#FFFFFF#000000##000000
##5EA2271.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)
#A8950C
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#5D9C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ea227;
/* rgb */ color: rgb(94, 162, 39);
/* oklch */ color: oklch(64.3% 0.167 134.5);
Tailwind
colors: {
  custom: {
    50: '#92be6a',
    500: '#5ea227',
    950: '#000000',
  },
}
SCSS
$custom: #5ea227;
$custom-light: #92be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ea227",
  "rgb": {
    "r": 94,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 93.171,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64303,
    "c": 0.16748,
    "h": 134.5
  },
  "luminance": 0.28367
}

Semantic roles & 50–950 ramp

primary
#5EA227
secondary
#9764C1
accent
#43E49C
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5EA227

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

Preview Lab → · Contrast checker → · Palette generator →

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