#5BA72F#5BA72F

#5BA72F is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 65.5% C 0.170 H 136.4°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5BA72F
RGBrgb(91, 167, 47)
HSLhsl(98, 56%, 42%)
HSVhsv(98, 72%, 65%)
CMYKcmyk(45.5%, 0%, 71.9%, 34.5%)
CIE-LABlab(61.71, -44.44, 51.97)
CIE-LCHlch(61.71, 68.37, 130.53°)
OKLaboklab(65.51% -0.1235 0.1176)
OKLCHoklch(65.51% 0.17 136.4)
XYZxyz(18.6457, 30.0657, 7.5095)
Luminance0.3007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA72F #7B2FA7
analogous
#97A72F #5BA72F #2FA73F
triadic
#5BA72F #2F5BA7 #A72F5B
tetradic
#5BA72F #2F97A7 #7B2FA7 #A73F2F
square
#5BA72F #2F97A7 #7B2FA7 #A73F2F
split-complementary
#5BA72F #3F2FA7 #A72F97
monochromatic
#274714 #417722 #5BA72F #78CB48 #9BD978

Accessibility & contrast

On white

2.99
#5BA72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#5BA72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA72F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA72F#FFFFFF#000000##000000
##5BA72F1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991B
Deuteranopia (green-blind)
#A3933A
Tritanopia (blue-blind)
#58A18F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5ba72f;
/* rgb */ color: rgb(91, 167, 47);
/* oklch */ color: oklch(65.5% 0.170 136.4);
Tailwind
colors: {
  custom: {
    50: '#90c26f',
    500: '#5ba72f',
    950: '#000000',
  },
}
SCSS
$custom: #5ba72f;
$custom-light: #90c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba72f",
  "rgb": {
    "r": 91,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 98,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65506,
    "c": 0.17048,
    "h": 136.4
  },
  "luminance": 0.30067
}

Semantic roles & 50–950 ramp

primary
#5BA72F
secondary
#A471C1
accent
#48DFA8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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