#5EB231#5EB231

#5EB231 is a light, vivid yellow-green. Relative luminance 0.344; OKLCH L 68.5% C 0.181 H 136.9°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5EB231
RGBrgb(94, 178, 49)
HSLhsl(99, 57%, 45%)
HSVhsv(99, 72%, 70%)
CMYKcmyk(47.2%, 0%, 72.5%, 30.2%)
CIE-LABlab(65.31, -47.77, 54.91)
CIE-LCHlch(65.31, 72.78, 131.02°)
OKLaboklab(68.5% -0.1325 0.124)
OKLCHoklch(68.5% 0.181 136.9)
XYZxyz(21.0902, 34.4408, 8.4416)
Luminance0.3444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB231 #8531B2
analogous
#9FB231 #5EB231 #31B245
triadic
#5EB231 #315EB2 #B2315E
tetradic
#5EB231 #319FB2 #8531B2 #B24531
square
#5EB231 #319FB2 #8531B2 #B24531
split-complementary
#5EB231 #4531B2 #B2319F
monochromatic
#2B5217 #458224 #5EB231 #7DCF51 #A1DC81

Accessibility & contrast

On white

2.66
#5EB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#5EB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EB231
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EB231#FFFFFF#000000##000000
##5EB2311.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31A
Deuteranopia (green-blind)
#AD9C3E
Tritanopia (blue-blind)
#59AC99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5eb231;
/* rgb */ color: rgb(94, 178, 49);
/* oklch */ color: oklch(68.5% 0.181 136.9);
Tailwind
colors: {
  custom: {
    50: '#93ca71',
    500: '#5eb231',
    950: '#000000',
  },
}
SCSS
$custom: #5eb231;
$custom-light: #93ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb231",
  "rgb": {
    "r": 94,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 99.07,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68501,
    "c": 0.18148,
    "h": 136.9
  },
  "luminance": 0.34442
}

Semantic roles & 50–950 ramp

primary
#5EB231
secondary
#AB79C5
accent
#48E0AB
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5EB231

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

Preview Lab → · Contrast checker → · Palette generator →

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