#5BAF2D#5BAF2D

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

Color values

HEX#5BAF2D
RGBrgb(91, 175, 45)
HSLhsl(99, 59%, 43%)
HSVhsv(99, 74%, 69%)
CMYKcmyk(48%, 0%, 74.3%, 31.4%)
CIE-LABlab(64.22, -47.80, 55.23)
CIE-LCHlch(64.22, 73.04, 130.88°)
OKLaboklab(67.56% -0.1327 0.1241)
OKLCHoklch(67.56% 0.182 136.9)
XYZxyz(20.1174, 33.0722, 7.8056)
Luminance0.3307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAF2D #812DAF
analogous
#9CAF2D #5BAF2D #2DAF40
triadic
#5BAF2D #2D5BAF #AF2D5B
tetradic
#5BAF2D #2D9CAF #812DAF #AF402D
square
#5BAF2D #2D9CAF #812DAF #AF402D
split-complementary
#5BAF2D #402DAF #AF2D9C
monochromatic
#284E14 #427E20 #5BAF2D #79D049 #9DDD7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BAF2D#FFFFFF#000000##000000
##5BAF2D1.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)
#B5A013
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#56A996
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5baf2d;
/* rgb */ color: rgb(91, 175, 45);
/* oklch */ color: oklch(67.6% 0.182 136.9);
Tailwind
colors: {
  custom: {
    50: '#91c76f',
    500: '#5baf2d',
    950: '#000000',
  },
}
SCSS
$custom: #5baf2d;
$custom-light: #91c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#5baf2d",
  "rgb": {
    "r": 91,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 98.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67562,
    "c": 0.18167,
    "h": 136.9
  },
  "luminance": 0.33074
}

Semantic roles & 50–950 ramp

primary
#5BAF2D
secondary
#A873C5
accent
#46E2AB
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5BAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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