#5EAB1F#5EAB1F

#5EAB1F is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 66.6% C 0.182 H 135.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5EAB1F
RGBrgb(94, 171, 31)
HSLhsl(93, 69%, 40%)
HSVhsv(93, 82%, 67%)
CMYKcmyk(45%, 0%, 81.9%, 32.9%)
CIE-LABlab(63.01, -46.05, 58.58)
CIE-LCHlch(63.01, 74.52, 128.17°)
OKLaboklab(66.58% -0.129 0.129)
OKLCHoklch(66.58% 0.182 135)
XYZxyz(19.4259, 31.6033, 6.3725)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EAB1F #6C1FAB
analogous
#A4AB1F #5EAB1F #1FAB26
triadic
#5EAB1F #1F5EAB #AB1F5E
tetradic
#5EAB1F #1FA4AB #6C1FAB #AB261F
square
#5EAB1F #1FA4AB #6C1FAB #AB261F
split-complementary
#5EAB1F #261FAB #AB1FA4
monochromatic
#25430C #427716 #5EAB1F #7BD92E #9CE362

Accessibility & contrast

On white

2.87
#5EAB1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#5EAB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EAB1F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EAB1F#FFFFFF#000000##000000
##5EAB1F1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29C00
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#5CA492
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5eab1f;
/* rgb */ color: rgb(94, 171, 31);
/* oklch */ color: oklch(66.6% 0.182 135.0);
Tailwind
colors: {
  custom: {
    50: '#93c468',
    500: '#5eab1f',
    950: '#000000',
  },
}
SCSS
$custom: #5eab1f;
$custom-light: #93c468;
$custom-dark: #000000;
JSON
{
  "hex": "#5eab1f",
  "rgb": {
    "r": 94,
    "g": 171,
    "b": 31
  },
  "hsl": {
    "h": 93,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66583,
    "c": 0.18247,
    "h": 135
  },
  "luminance": 0.31604
}

Semantic roles & 50–950 ramp

primary
#5EAB1F
secondary
#985EC7
accent
#3CEC9D
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5EAB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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