#5BAF2C#5BAF2C

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

Color values

HEX#5BAF2C
RGBrgb(91, 175, 44)
HSLhsl(98, 60%, 43%)
HSVhsv(98, 75%, 69%)
CMYKcmyk(48%, 0%, 74.9%, 31.4%)
CIE-LABlab(64.21, -47.86, 55.57)
CIE-LCHlch(64.21, 73.34, 130.74°)
OKLaboklab(67.55% -0.1329 0.1247)
OKLCHoklch(67.55% 0.182 136.8)
XYZxyz(20.0984, 33.0646, 7.7054)
Luminance0.3307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAF2C #802CAF
analogous
#9CAF2C #5BAF2C #2CAF3E
triadic
#5BAF2C #2C5BAF #AF2C5B
tetradic
#5BAF2C #2C9CAF #802CAF #AF3E2C
square
#5BAF2C #2C9CAF #802CAF #AF3E2C
split-complementary
#5BAF2C #3E2CAF #AF2C9C
monochromatic
#284D13 #427E20 #5BAF2C #79D147 #9CDD78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BAF2C#FFFFFF#000000##000000
##5BAF2C1.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)
#B5A011
Deuteranopia (green-blind)
#AA9939
Tritanopia (blue-blind)
#56A996
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5baf2c;
/* rgb */ color: rgb(91, 175, 44);
/* oklch */ color: oklch(67.6% 0.182 136.8);
Tailwind
colors: {
  custom: {
    50: '#91c76e',
    500: '#5baf2c',
    950: '#000000',
  },
}
SCSS
$custom: #5baf2c;
$custom-light: #91c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#5baf2c",
  "rgb": {
    "r": 91,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 98.473,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67555,
    "c": 0.18225,
    "h": 136.8
  },
  "luminance": 0.33066
}

Semantic roles & 50–950 ramp

primary
#5BAF2C
secondary
#A772C5
accent
#45E3AA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5BAF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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