#5EA42F#5EA42F

#5EA42F is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 64.9% C 0.165 H 135.4°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5EA42F
RGBrgb(94, 164, 47)
HSLhsl(96, 55%, 41%)
HSVhsv(96, 71%, 64%)
CMYKcmyk(42.7%, 0%, 71.3%, 35.7%)
CIE-LABlab(60.90, -42.20, 51.18)
CIE-LCHlch(60.90, 66.34, 129.51°)
OKLaboklab(64.88% -0.1176 0.1159)
OKLCHoklch(64.88% 0.165 135.4)
XYZxyz(18.4042, 29.1348, 7.3426)
Luminance0.2914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EA42F #752FA4
analogous
#99A42F #5EA42F #2FA43A
triadic
#5EA42F #2F5EA4 #A42F5E
tetradic
#5EA42F #2F99A4 #752FA4 #A43A2F
square
#5EA42F #2F99A4 #752FA4 #A43A2F
split-complementary
#5EA42F #3A2FA4 #A42F99
monochromatic
#274514 #437421 #5EA42F #7BCA46 #9DD876

Accessibility & contrast

On white

3.08
#5EA42F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#5EA42F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5EA42F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EA42F#FFFFFF#000000##000000
##5EA42F1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971C
Deuteranopia (green-blind)
#A1913A
Tritanopia (blue-blind)
#5C9E8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ea42f;
/* rgb */ color: rgb(94, 164, 47);
/* oklch */ color: oklch(64.9% 0.165 135.4);
Tailwind
colors: {
  custom: {
    50: '#91bf6f',
    500: '#5ea42f',
    950: '#000000',
  },
}
SCSS
$custom: #5ea42f;
$custom-light: #91bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ea42f",
  "rgb": {
    "r": 94,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 95.897,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64879,
    "c": 0.16511,
    "h": 135.4
  },
  "luminance": 0.29136
}

Semantic roles & 50–950 ramp

primary
#5EA42F
secondary
#9F6FC0
accent
#49DFA3
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5EA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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