#5BA415#5BA415

#5BA415 is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 64.6% C 0.180 H 134.4°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5BA415
RGBrgb(91, 164, 21)
HSLhsl(91, 77%, 36%)
HSVhsv(91, 87%, 64%)
CMYKcmyk(44.5%, 0%, 87.2%, 35.7%)
CIE-LABlab(60.63, -44.64, 58.91)
CIE-LCHlch(60.63, 73.91, 127.15°)
OKLaboklab(64.58% -0.1256 0.1284)
OKLCHoklch(64.58% 0.18 134.4)
XYZxyz(17.7249, 28.8282, 5.3398)
Luminance0.2883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA415 #5E15A4
analogous
#A3A415 #5BA415 #15A416
triadic
#5BA415 #155BA4 #A4155B
tetradic
#5BA415 #15A3A4 #5E15A4 #A41615
square
#5BA415 #15A3A4 #5E15A4 #A41615
split-complementary
#5BA415 #1615A4 #A415A3
monochromatic
#1F3707 #3D6E0E #5BA415 #79DA1C #98E84B

Accessibility & contrast

On white

3.10
#5BA415 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#5BA415 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA415
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA415#FFFFFF#000000##000000
##5BA4151.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A19029
Tritanopia (blue-blind)
#5A9D8B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5ba415;
/* rgb */ color: rgb(91, 164, 21);
/* oklch */ color: oklch(64.6% 0.180 134.4);
Tailwind
colors: {
  custom: {
    50: '#91bf63',
    500: '#5ba415',
    950: '#000000',
  },
}
SCSS
$custom: #5ba415;
$custom-light: #91bf63;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba415",
  "rgb": {
    "r": 91,
    "g": 164,
    "b": 21
  },
  "hsl": {
    "h": 90.629,
    "s": 77.297,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64577,
    "c": 0.17956,
    "h": 134.4
  },
  "luminance": 0.28829
}

Semantic roles & 50–950 ramp

primary
#5BA415
secondary
#8C4BC9
accent
#34F496
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5BA415

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

Preview Lab → · Contrast checker → · Palette generator →

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