#5BAF2B#5BAF2B

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

Color values

HEX#5BAF2B
RGBrgb(91, 175, 43)
HSLhsl(98, 61%, 43%)
HSVhsv(98, 75%, 69%)
CMYKcmyk(48%, 0%, 75.4%, 31.4%)
CIE-LABlab(64.21, -47.93, 55.91)
CIE-LCHlch(64.21, 73.65, 130.60°)
OKLaboklab(67.55% -0.1332 0.1253)
OKLCHoklch(67.55% 0.183 136.8)
XYZxyz(20.0798, 33.0572, 7.6076)
Luminance0.3306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAF2B #7F2BAF
analogous
#9DAF2B #5BAF2B #2BAF3D
triadic
#5BAF2B #2B5BAF #AF2B5B
tetradic
#5BAF2B #2B9DAF #7F2BAF #AF3D2B
square
#5BAF2B #2B9DAF #7F2BAF #AF3D2B
split-complementary
#5BAF2B #3D2BAF #AF2B9D
monochromatic
#284D13 #417E1F #5BAF2B #79D146 #9CDE77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5baf2b;
/* rgb */ color: rgb(91, 175, 43);
/* oklch */ color: oklch(67.5% 0.183 136.8);
Tailwind
colors: {
  custom: {
    50: '#91c76e',
    500: '#5baf2b',
    950: '#000000',
  },
}
SCSS
$custom: #5baf2b;
$custom-light: #91c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#5baf2b",
  "rgb": {
    "r": 91,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 98.182,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67548,
    "c": 0.18281,
    "h": 136.8
  },
  "luminance": 0.33059
}

Semantic roles & 50–950 ramp

primary
#5BAF2B
secondary
#A670C5
accent
#44E4AA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5BAF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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