#5BA12E#5BA12E

#5BA12E is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 63.9% C 0.163 H 135.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5BA12E
RGBrgb(91, 161, 46)
HSLhsl(97, 56%, 41%)
HSVhsv(97, 71%, 63%)
CMYKcmyk(43.5%, 0%, 71.4%, 36.9%)
CIE-LABlab(59.81, -42.03, 50.40)
CIE-LCHlch(59.81, 65.63, 129.82°)
OKLaboklab(63.94% -0.117 0.1142)
OKLCHoklch(63.94% 0.163 135.7)
XYZxyz(17.5520, 27.9101, 7.0466)
Luminance0.2791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA12E #742EA1
analogous
#94A12E #5BA12E #2EA13A
triadic
#5BA12E #2E5BA1 #A12E5B
tetradic
#5BA12E #2E94A1 #742EA1 #A13A2E
square
#5BA12E #2E94A1 #742EA1 #A13A2E
split-complementary
#5BA12E #3A2EA1 #A12E94
monochromatic
#254213 #407120 #5BA12E #77C943 #9AD773

Accessibility & contrast

On white

3.19
#5BA12E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#5BA12E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA12E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA12E#FFFFFF#000000##000000
##5BA12E1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941B
Deuteranopia (green-blind)
#9D8E39
Tritanopia (blue-blind)
#599B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba12e;
/* rgb */ color: rgb(91, 161, 46);
/* oklch */ color: oklch(63.9% 0.163 135.7);
Tailwind
colors: {
  custom: {
    50: '#8fbd6e',
    500: '#5ba12e',
    950: '#000000',
  },
}
SCSS
$custom: #5ba12e;
$custom-light: #8fbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba12e",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 96.522,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63943,
    "c": 0.16347,
    "h": 135.7
  },
  "luminance": 0.27911
}

Semantic roles & 50–950 ramp

primary
#5BA12E
secondary
#9E6CBE
accent
#49DFA4
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA12E

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

Preview Lab → · Contrast checker → · Palette generator →

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