#5BA12A#5BA12A

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

Color values

HEX#5BA12A
RGBrgb(91, 161, 42)
HSLhsl(95, 59%, 40%)
HSVhsv(95, 74%, 63%)
CMYKcmyk(43.5%, 0%, 73.9%, 36.9%)
CIE-LABlab(59.78, -42.32, 51.89)
CIE-LCHlch(59.78, 66.96, 129.20°)
OKLaboklab(63.91% -0.1181 0.1167)
OKLCHoklch(63.91% 0.166 135.3)
XYZxyz(17.4768, 27.8801, 6.6505)
Luminance0.2788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA12A #702AA1
analogous
#97A12A #5BA12A #2AA134
triadic
#5BA12A #2A5BA1 #A12A5B
tetradic
#5BA12A #2A97A1 #702AA1 #A1342A
square
#5BA12A #2A97A1 #702AA1 #A1342A
split-complementary
#5BA12A #342AA1 #A12A97
monochromatic
#244011 #40701D #5BA12A #77CC3C #99D96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA12A#FFFFFF#000000##000000
##5BA12A1.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)
#A79414
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#599B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba12a;
/* rgb */ color: rgb(91, 161, 42);
/* oklch */ color: oklch(63.9% 0.166 135.3);
Tailwind
colors: {
  custom: {
    50: '#8fbd6c',
    500: '#5ba12a',
    950: '#000000',
  },
}
SCSS
$custom: #5ba12a;
$custom-light: #8fbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba12a",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 95.294,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63912,
    "c": 0.16602,
    "h": 135.3
  },
  "luminance": 0.27881
}

Semantic roles & 50–950 ramp

primary
#5BA12A
secondary
#9B67C0
accent
#46E2A2
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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