#5EA81F#5EA81F

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

Color values

HEX#5EA81F
RGBrgb(94, 168, 31)
HSLhsl(92, 69%, 39%)
HSVhsv(92, 82%, 66%)
CMYKcmyk(44%, 0%, 81.5%, 34.1%)
CIE-LABlab(62.07, -44.84, 57.72)
CIE-LCHlch(62.07, 73.09, 127.84°)
OKLaboklab(65.81% -0.1258 0.1272)
OKLCHoklch(65.81% 0.179 134.7)
XYZxyz(18.8657, 30.4828, 6.1858)
Luminance0.3048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EA81F #691FA8
analogous
#A3A81F #5EA81F #1FA825
triadic
#5EA81F #1F5EA8 #A81F5E
tetradic
#5EA81F #1FA3A8 #691FA8 #A8251F
square
#5EA81F #1FA3A8 #691FA8 #A8251F
split-complementary
#5EA81F #251FA8 #A81FA3
monochromatic
#24410C #417415 #5EA81F #7BD82C #9BE260

Accessibility & contrast

On white

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

On black

7.10
#5EA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EA81F
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EA81F#FFFFFF#000000##000000
##5EA81F1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5ea81f;
/* rgb */ color: rgb(94, 168, 31);
/* oklch */ color: oklch(65.8% 0.179 134.7);
Tailwind
colors: {
  custom: {
    50: '#93c268',
    500: '#5ea81f',
    950: '#000000',
  },
}
SCSS
$custom: #5ea81f;
$custom-light: #93c268;
$custom-dark: #000000;
JSON
{
  "hex": "#5ea81f",
  "rgb": {
    "r": 94,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 92.409,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65807,
    "c": 0.17889,
    "h": 134.7
  },
  "luminance": 0.30484
}

Semantic roles & 50–950 ramp

primary
#5EA81F
secondary
#965DC6
accent
#3CEC9B
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5EA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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