#5EA42B#5EA42B

#5EA42B is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 64.8% C 0.168 H 135.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5EA42B
RGBrgb(94, 164, 43)
HSLhsl(95, 58%, 41%)
HSVhsv(95, 74%, 64%)
CMYKcmyk(42.7%, 0%, 73.8%, 35.7%)
CIE-LABlab(60.87, -42.49, 52.66)
CIE-LCHlch(60.87, 67.66, 128.90°)
OKLaboklab(64.85% -0.1187 0.1184)
OKLCHoklch(64.85% 0.168 135.1)
XYZxyz(18.3272, 29.1040, 6.9370)
Luminance0.2910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EA42B #712BA4
analogous
#9AA42B #5EA42B #2BA435
triadic
#5EA42B #2B5EA4 #A42B5E
tetradic
#5EA42B #2B9AA4 #712BA4 #A4352B
square
#5EA42B #2B9AA4 #712BA4 #A4352B
split-complementary
#5EA42B #352BA4 #A42B9A
monochromatic
#264312 #42741E #5EA42B #7BCD3F #9CD970

Accessibility & contrast

On white

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

On black

6.82
#5EA42B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5EA42B
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EA42B#FFFFFF#000000##000000
##5EA42B1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5ea42b;
/* rgb */ color: rgb(94, 164, 43);
/* oklch */ color: oklch(64.8% 0.168 135.1);
Tailwind
colors: {
  custom: {
    50: '#92bf6d',
    500: '#5ea42b',
    950: '#000000',
  },
}
SCSS
$custom: #5ea42b;
$custom-light: #92bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ea42b",
  "rgb": {
    "r": 94,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 94.711,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64848,
    "c": 0.16764,
    "h": 135.1
  },
  "luminance": 0.29105
}

Semantic roles & 50–950 ramp

primary
#5EA42B
secondary
#9C6AC1
accent
#46E2A0
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5EA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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