#5EAA31#5EAA31

#5EAA31 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.4% C 0.171 H 136.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5EAA31
RGBrgb(94, 170, 49)
HSLhsl(98, 55%, 43%)
HSVhsv(98, 71%, 67%)
CMYKcmyk(44.7%, 0%, 71.2%, 33.3%)
CIE-LABlab(62.80, -44.54, 52.36)
CIE-LCHlch(62.80, 68.74, 130.39°)
OKLaboklab(66.44% -0.1238 0.1186)
OKLCHoklch(66.44% 0.171 136.2)
XYZxyz(19.5447, 31.3497, 7.9264)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EAA31 #7D31AA
analogous
#9AAA31 #5EAA31 #31AA40
triadic
#5EAA31 #315EAA #AA315E
tetradic
#5EAA31 #319AAA #7D31AA #AA4031
square
#5EAA31 #319AAA #7D31AA #AA4031
split-complementary
#5EAA31 #4031AA #AA319A
monochromatic
#294B16 #447A23 #5EAA31 #7CCC4D #9FD97C

Accessibility & contrast

On white

2.89
#5EAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#5EAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EAA31
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EAA31#FFFFFF#000000##000000
##5EAA311.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#A6963C
Tritanopia (blue-blind)
#5BA492
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5eaa31;
/* rgb */ color: rgb(94, 170, 49);
/* oklch */ color: oklch(66.4% 0.171 136.2);
Tailwind
colors: {
  custom: {
    50: '#92c470',
    500: '#5eaa31',
    950: '#000000',
  },
}
SCSS
$custom: #5eaa31;
$custom-light: #92c470;
$custom-dark: #000000;
JSON
{
  "hex": "#5eaa31",
  "rgb": {
    "r": 94,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 97.686,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66442,
    "c": 0.17146,
    "h": 136.2
  },
  "luminance": 0.31351
}

Semantic roles & 50–950 ramp

primary
#5EAA31
secondary
#A575C2
accent
#49DFA7
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5EAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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