#5EA71F#5EA71F

#5EA71F is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 65.5% C 0.178 H 134.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5EA71F
RGBrgb(94, 167, 31)
HSLhsl(92, 69%, 39%)
HSVhsv(92, 81%, 65%)
CMYKcmyk(43.7%, 0%, 81.4%, 34.5%)
CIE-LABlab(61.75, -44.43, 57.43)
CIE-LCHlch(61.75, 72.61, 127.73°)
OKLaboklab(65.55% -0.1247 0.1266)
OKLCHoklch(65.55% 0.178 134.6)
XYZxyz(18.6818, 30.1150, 6.1245)
Luminance0.3012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EA71F #681FA7
analogous
#A2A71F #5EA71F #1FA724
triadic
#5EA71F #1F5EA7 #A71F5E
tetradic
#5EA71F #1FA2A7 #681FA7 #A7241F
square
#5EA71F #1FA2A7 #681FA7 #A7241F
split-complementary
#5EA71F #241FA7 #A71FA2
monochromatic
#24400C #417315 #5EA71F #7BD82B #9BE15F

Accessibility & contrast

On white

2.99
#5EA71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#5EA71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EA71F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EA71F#FFFFFF#000000##000000
##5EA71F1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A4932F
Tritanopia (blue-blind)
#5DA08E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5ea71f;
/* rgb */ color: rgb(94, 167, 31);
/* oklch */ color: oklch(65.5% 0.178 134.6);
Tailwind
colors: {
  custom: {
    50: '#92c267',
    500: '#5ea71f',
    950: '#000000',
  },
}
SCSS
$custom: #5ea71f;
$custom-light: #92c267;
$custom-dark: #000000;
JSON
{
  "hex": "#5ea71f",
  "rgb": {
    "r": 94,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 92.206,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65548,
    "c": 0.17768,
    "h": 134.6
  },
  "luminance": 0.30116
}

Semantic roles & 50–950 ramp

primary
#5EA71F
secondary
#955CC6
accent
#3CEC9A
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5EA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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