#5BAC2A#5BAC2A

#5BAC2A is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 66.8% C 0.180 H 136.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#5BAC2A
RGBrgb(91, 172, 42)
HSLhsl(97, 61%, 42%)
HSVhsv(97, 76%, 67%)
CMYKcmyk(47.1%, 0%, 75.6%, 32.5%)
CIE-LABlab(63.26, -46.80, 55.33)
CIE-LCHlch(63.26, 72.47, 130.23°)
OKLaboklab(66.77% -0.1302 0.1239)
OKLCHoklch(66.77% 0.18 136.4)
XYZxyz(19.4843, 31.8951, 7.3197)
Luminance0.3190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAC2A #7B2AAC
analogous
#9CAC2A #5BAC2A #2AAC3A
triadic
#5BAC2A #2A5BAC #AC2A5B
tetradic
#5BAC2A #2A9CAC #7B2AAC #AC3A2A
square
#5BAC2A #2A9CAC #7B2AAC #AC3A2A
split-complementary
#5BAC2A #3A2AAC #AC2A9C
monochromatic
#274A12 #417B1E #5BAC2A #78D142 #9BDD73

Accessibility & contrast

On white

2.85
#5BAC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#5BAC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAC2A
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAC2A#FFFFFF#000000##000000
##5BAC2A1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0D
Deuteranopia (green-blind)
#A79738
Tritanopia (blue-blind)
#57A693
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5bac2a;
/* rgb */ color: rgb(91, 172, 42);
/* oklch */ color: oklch(66.8% 0.180 136.4);
Tailwind
colors: {
  custom: {
    50: '#91c56d',
    500: '#5bac2a',
    950: '#000000',
  },
}
SCSS
$custom: #5bac2a;
$custom-light: #91c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#5bac2a",
  "rgb": {
    "r": 91,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 97.385,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66765,
    "c": 0.17971,
    "h": 136.4
  },
  "luminance": 0.31896
}

Semantic roles & 50–950 ramp

primary
#5BAC2A
secondary
#A46DC4
accent
#44E4A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5BAC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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