#5BA02F#5BA02F

#5BA02F is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 63.7% C 0.162 H 135.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5BA02F
RGBrgb(91, 160, 47)
HSLhsl(97, 55%, 41%)
HSVhsv(97, 71%, 63%)
CMYKcmyk(43.1%, 0%, 70.6%, 37.3%)
CIE-LABlab(59.50, -41.53, 49.69)
CIE-LCHlch(59.50, 64.76, 129.89°)
OKLaboklab(63.69% -0.1156 0.1128)
OKLCHoklch(63.69% 0.162 135.7)
XYZxyz(17.3979, 27.5700, 7.0936)
Luminance0.2757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA02F #742FA0
analogous
#93A02F #5BA02F #2FA03B
triadic
#5BA02F #2F5BA0 #A02F5B
tetradic
#5BA02F #2F93A0 #742FA0 #A03B2F
square
#5BA02F #2F93A0 #742FA0 #A03B2F
split-complementary
#5BA02F #3B2FA0 #A02F93
monochromatic
#254113 #407121 #5BA02F #77C844 #9AD673

Accessibility & contrast

On white

3.22
#5BA02F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#5BA02F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA02F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA02F#FFFFFF#000000##000000
##5BA02F1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931D
Deuteranopia (green-blind)
#9C8D39
Tritanopia (blue-blind)
#599A8A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5ba02f;
/* rgb */ color: rgb(91, 160, 47);
/* oklch */ color: oklch(63.7% 0.162 135.7);
Tailwind
colors: {
  custom: {
    50: '#8fbc6e',
    500: '#5ba02f',
    950: '#000000',
  },
}
SCSS
$custom: #5ba02f;
$custom-light: #8fbc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba02f",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 96.637,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63692,
    "c": 0.16152,
    "h": 135.7
  },
  "luminance": 0.27571
}

Semantic roles & 50–950 ramp

primary
#5BA02F
secondary
#9E6DBE
accent
#4ADEA4
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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