#5BA12C#5BA12C

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

Color values

HEX#5BA12C
RGBrgb(91, 161, 44)
HSLhsl(96, 57%, 40%)
HSVhsv(96, 73%, 63%)
CMYKcmyk(43.5%, 0%, 72.7%, 36.9%)
CIE-LABlab(59.79, -42.17, 51.16)
CIE-LCHlch(59.79, 66.30, 129.50°)
OKLaboklab(63.93% -0.1175 0.1155)
OKLCHoklch(63.93% 0.165 135.5)
XYZxyz(17.5135, 27.8947, 6.8438)
Luminance0.2790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA12C #722CA1
analogous
#96A12C #5BA12C #2CA137
triadic
#5BA12C #2C5BA1 #A12C5B
tetradic
#5BA12C #2C96A1 #722CA1 #A1372C
square
#5BA12C #2C96A1 #722CA1 #A1372C
split-complementary
#5BA12C #372CA1 #A12C96
monochromatic
#254112 #40711F #5BA12C #77CB40 #99D870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA12C#FFFFFF#000000##000000
##5BA12C1.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)
#A79418
Deuteranopia (green-blind)
#9D8E37
Tritanopia (blue-blind)
#599B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba12c;
/* rgb */ color: rgb(91, 161, 44);
/* oklch */ color: oklch(63.9% 0.165 135.5);
Tailwind
colors: {
  custom: {
    50: '#8fbd6d',
    500: '#5ba12c',
    950: '#000000',
  },
}
SCSS
$custom: #5ba12c;
$custom-light: #8fbd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba12c",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 95.897,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63927,
    "c": 0.16477,
    "h": 135.5
  },
  "luminance": 0.27896
}

Semantic roles & 50–950 ramp

primary
#5BA12C
secondary
#9D6ABF
accent
#47E0A3
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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