#5BAF2A#5BAF2A

#5BAF2A is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 67.5% C 0.183 H 136.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5BAF2A
RGBrgb(91, 175, 42)
HSLhsl(98, 61%, 43%)
HSVhsv(98, 76%, 69%)
CMYKcmyk(48%, 0%, 76%, 31.4%)
CIE-LABlab(64.20, -47.99, 56.25)
CIE-LCHlch(64.20, 73.94, 130.47°)
OKLaboklab(67.54% -0.1334 0.1258)
OKLCHoklch(67.54% 0.183 136.7)
XYZxyz(20.0617, 33.0499, 7.5122)
Luminance0.3305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAF2A #7E2AAF
analogous
#9DAF2A #5BAF2A #2AAF3C
triadic
#5BAF2A #2A5BAF #AF2A5B
tetradic
#5BAF2A #2A9DAF #7E2AAF #AF3C2A
square
#5BAF2A #2A9DAF #7E2AAF #AF3C2A
split-complementary
#5BAF2A #3C2AAF #AF2A9D
monochromatic
#284C12 #417E1E #5BAF2A #78D244 #9CDE75

Accessibility & contrast

On white

2.76
#5BAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#5BAF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAF2A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAF2A#FFFFFF#000000##000000
##5BAF2A1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00B
Deuteranopia (green-blind)
#AA9938
Tritanopia (blue-blind)
#57A996
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5baf2a;
/* rgb */ color: rgb(91, 175, 42);
/* oklch */ color: oklch(67.5% 0.183 136.7);
Tailwind
colors: {
  custom: {
    50: '#91c76d',
    500: '#5baf2a',
    950: '#000000',
  },
}
SCSS
$custom: #5baf2a;
$custom-light: #91c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#5baf2a",
  "rgb": {
    "r": 91,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 97.895,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67541,
    "c": 0.18337,
    "h": 136.7
  },
  "luminance": 0.33051
}

Semantic roles & 50–950 ramp

primary
#5BAF2A
secondary
#A66FC6
accent
#43E4A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5BAF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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