#5BAF2F#5BAF2F

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

Color values

HEX#5BAF2F
RGBrgb(91, 175, 47)
HSLhsl(99, 58%, 44%)
HSVhsv(99, 73%, 69%)
CMYKcmyk(48%, 0%, 73.1%, 31.4%)
CIE-LABlab(64.23, -47.66, 54.52)
CIE-LCHlch(64.23, 72.41, 131.16°)
OKLaboklab(67.58% -0.1322 0.1229)
OKLCHoklch(67.58% 0.18 137.1)
XYZxyz(20.1568, 33.0880, 8.0133)
Luminance0.3309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAF2F #832FAF
analogous
#9BAF2F #5BAF2F #2FAF43
triadic
#5BAF2F #2F5BAF #AF2F5B
tetradic
#5BAF2F #2F9BAF #832FAF #AF432F
square
#5BAF2F #2F9BAF #832FAF #AF432F
split-complementary
#5BAF2F #432FAF #AF2F9B
monochromatic
#294F15 #427F22 #5BAF2F #79CF4C #9DDC7C

Accessibility & contrast

On white

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

On black

7.62
#5BAF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAF2F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAF2F#FFFFFF#000000##000000
##5BAF2F1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A018
Deuteranopia (green-blind)
#AA993C
Tritanopia (blue-blind)
#56A996
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5baf2f;
/* rgb */ color: rgb(91, 175, 47);
/* oklch */ color: oklch(67.6% 0.180 137.1);
Tailwind
colors: {
  custom: {
    50: '#91c770',
    500: '#5baf2f',
    950: '#000000',
  },
}
SCSS
$custom: #5baf2f;
$custom-light: #91c770;
$custom-dark: #000000;
JSON
{
  "hex": "#5baf2f",
  "rgb": {
    "r": 91,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 99.375,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67577,
    "c": 0.18048,
    "h": 137.1
  },
  "luminance": 0.33089
}

Semantic roles & 50–950 ramp

primary
#5BAF2F
secondary
#A975C4
accent
#47E1AC
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5BAF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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