#5BA12F#5BA12F

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

Color values

HEX#5BA12F
RGBrgb(91, 161, 47)
HSLhsl(97, 55%, 41%)
HSVhsv(97, 71%, 63%)
CMYKcmyk(43.5%, 0%, 70.8%, 36.9%)
CIE-LABlab(59.81, -41.95, 50.02)
CIE-LCHlch(59.81, 65.28, 129.99°)
OKLaboklab(63.95% -0.1167 0.1135)
OKLCHoklch(63.95% 0.163 135.8)
XYZxyz(17.5719, 27.9181, 7.1516)
Luminance0.2792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA12F #752FA1
analogous
#94A12F #5BA12F #2FA13C
triadic
#5BA12F #2F5BA1 #A12F5B
tetradic
#5BA12F #2F94A1 #752FA1 #A13C2F
square
#5BA12F #2F94A1 #752FA1 #A13C2F
split-complementary
#5BA12F #3C2FA1 #A12F94
monochromatic
#254213 #407221 #5BA12F #78C945 #9AD674

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA12F#FFFFFF#000000##000000
##5BA12F1.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)
#A7941D
Deuteranopia (green-blind)
#9D8E39
Tritanopia (blue-blind)
#599B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba12f;
/* rgb */ color: rgb(91, 161, 47);
/* oklch */ color: oklch(64.0% 0.163 135.8);
Tailwind
colors: {
  custom: {
    50: '#8fbd6e',
    500: '#5ba12f',
    950: '#000000',
  },
}
SCSS
$custom: #5ba12f;
$custom-light: #8fbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba12f",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 96.842,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63951,
    "c": 0.16281,
    "h": 135.8
  },
  "luminance": 0.27919
}

Semantic roles & 50–950 ramp

primary
#5BA12F
secondary
#9F6EBE
accent
#4ADEA5
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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