#5EA81C#5EA81C

#5EA81C is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 65.8% C 0.180 H 134.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5EA81C
RGBrgb(94, 168, 28)
HSLhsl(92, 71%, 38%)
HSVhsv(92, 83%, 66%)
CMYKcmyk(44%, 0%, 83.3%, 34.1%)
CIE-LABlab(62.06, -44.98, 58.53)
CIE-LCHlch(62.06, 73.81, 127.54°)
OKLaboklab(65.79% -0.1263 0.1285)
OKLCHoklch(65.79% 0.18 134.5)
XYZxyz(18.8279, 30.4677, 5.9872)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EA81C #661CA8
analogous
#A4A81C #5EA81C #1CA820
triadic
#5EA81C #1C5EA8 #A81C5E
tetradic
#5EA81C #1CA4A8 #661CA8 #A8201C
square
#5EA81C #1CA4A8 #661CA8 #A8201C
split-complementary
#5EA81C #201CA8 #A81CA4
monochromatic
#233F0B #417413 #5EA81C #7BDB26 #9BE45B

Accessibility & contrast

On white

2.96
#5EA81C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#5EA81C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EA81C
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EA81C#FFFFFF#000000##000000
##5EA81C1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A5942D
Tritanopia (blue-blind)
#5DA18F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ea81c;
/* rgb */ color: rgb(94, 168, 28);
/* oklch */ color: oklch(65.8% 0.180 134.5);
Tailwind
colors: {
  custom: {
    50: '#93c266',
    500: '#5ea81c',
    950: '#000000',
  },
}
SCSS
$custom: #5ea81c;
$custom-light: #93c266;
$custom-dark: #000000;
JSON
{
  "hex": "#5ea81c",
  "rgb": {
    "r": 94,
    "g": 168,
    "b": 28
  },
  "hsl": {
    "h": 91.714,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65792,
    "c": 0.18016,
    "h": 134.5
  },
  "luminance": 0.30469
}

Semantic roles & 50–950 ramp

primary
#5EA81C
secondary
#9358C7
accent
#3AEE99
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5EA81C

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

Preview Lab → · Contrast checker → · Palette generator →

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