#5EB731#5EB731

#5EB731 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 69.8% C 0.188 H 137.3°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5EB731
RGBrgb(94, 183, 49)
HSLhsl(100, 58%, 45%)
HSVhsv(100, 73%, 72%)
CMYKcmyk(48.6%, 0%, 73.2%, 28.2%)
CIE-LABlab(66.88, -49.75, 56.49)
CIE-LCHlch(66.88, 75.27, 131.37°)
OKLaboklab(69.79% -0.1379 0.1273)
OKLCHoklch(69.79% 0.188 137.3)
XYZxyz(22.1033, 36.4669, 8.7792)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB731 #8A31B7
analogous
#A1B731 #5EB731 #31B747
triadic
#5EB731 #315EB7 #B7315E
tetradic
#5EB731 #31A1B7 #8A31B7 #B74731
square
#5EB731 #31A1B7 #8A31B7 #B74731
split-complementary
#5EB731 #4731B7 #B731A1
monochromatic
#2C5617 #458724 #5EB731 #7ED154 #A2DE84

Accessibility & contrast

On white

2.53
#5EB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#5EB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EB731
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EB731#FFFFFF#000000##000000
##5EB7311.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA718
Deuteranopia (green-blind)
#B1A03E
Tritanopia (blue-blind)
#58B09D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5eb731;
/* rgb */ color: rgb(94, 183, 49);
/* oklch */ color: oklch(69.8% 0.188 137.3);
Tailwind
colors: {
  custom: {
    50: '#94cd72',
    500: '#5eb731',
    950: '#000000',
  },
}
SCSS
$custom: #5eb731;
$custom-light: #94cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb731",
  "rgb": {
    "r": 94,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 99.851,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69787,
    "c": 0.18762,
    "h": 137.3
  },
  "luminance": 0.36468
}

Semantic roles & 50–950 ramp

primary
#5EB731
secondary
#AE7CC8
accent
#47E1AD
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5EB731

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

Preview Lab → · Contrast checker → · Palette generator →

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