#5BA015#5BA015

#5BA015 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.5% C 0.175 H 133.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5BA015
RGBrgb(91, 160, 21)
HSLhsl(90, 77%, 35%)
HSVhsv(90, 87%, 63%)
CMYKcmyk(43.1%, 0%, 86.9%, 37.3%)
CIE-LABlab(59.36, -43.00, 57.81)
CIE-LCHlch(59.36, 72.05, 126.64°)
OKLaboklab(63.54% -0.1212 0.126)
OKLCHoklch(63.54% 0.175 133.9)
XYZxyz(17.0203, 27.4190, 5.1049)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA015 #5A15A0
analogous
#A09F15 #5BA015 #15A015
triadic
#5BA015 #155BA0 #A0155B
tetradic
#5BA015 #15A09F #5A15A0 #A01515
square
#5BA015 #15A09F #5A15A0 #A01515
split-complementary
#5BA015 #1515A0 #9F15A0
monochromatic
#1D3407 #3C6A0E #5BA015 #7AD61C #98E748

Accessibility & contrast

On white

3.24
#5BA015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#5BA015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA015
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA015#FFFFFF#000000##000000
##5BA0151.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79200
Deuteranopia (green-blind)
#9D8D28
Tritanopia (blue-blind)
#5A9988
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5ba015;
/* rgb */ color: rgb(91, 160, 21);
/* oklch */ color: oklch(63.5% 0.175 133.9);
Tailwind
colors: {
  custom: {
    50: '#90bc63',
    500: '#5ba015',
    950: '#000000',
  },
}
SCSS
$custom: #5ba015;
$custom-light: #90bc63;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba015",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 89.784,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63535,
    "c": 0.17484,
    "h": 133.9
  },
  "luminance": 0.2742
}

Semantic roles & 50–950 ramp

primary
#5BA015
secondary
#8849C8
accent
#34F393
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5BA015

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

Preview Lab → · Contrast checker → · Palette generator →

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