#5BA021#5BA021

#5BA021 is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.6% C 0.170 H 134.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5BA021
RGBrgb(91, 160, 33)
HSLhsl(93, 66%, 38%)
HSVhsv(93, 79%, 63%)
CMYKcmyk(43.1%, 0%, 79.4%, 37.3%)
CIE-LABlab(59.41, -42.46, 54.60)
CIE-LCHlch(59.41, 69.17, 127.87°)
OKLaboklab(63.59% -0.1191 0.121)
OKLCHoklch(63.59% 0.17 134.5)
XYZxyz(17.1594, 27.4746, 5.8375)
Luminance0.2748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA021 #6621A0
analogous
#9BA021 #5BA021 #21A026
triadic
#5BA021 #215BA0 #A0215B
tetradic
#5BA021 #219BA0 #6621A0 #A02621
square
#5BA021 #219BA0 #6621A0 #A02621
split-complementary
#5BA021 #2621A0 #A0219B
monochromatic
#213B0C #3E6D17 #5BA021 #78D32B #98DE5E

Accessibility & contrast

On white

3.23
#5BA021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#5BA021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA021
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA021#FFFFFF#000000##000000
##5BA0211.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#5A9A88
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5ba021;
/* rgb */ color: rgb(91, 160, 33);
/* oklch */ color: oklch(63.6% 0.170 134.5);
Tailwind
colors: {
  custom: {
    50: '#90bc67',
    500: '#5ba021',
    950: '#000000',
  },
}
SCSS
$custom: #5ba021;
$custom-light: #90bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba021",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 92.598,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63593,
    "c": 0.16977,
    "h": 134.5
  },
  "luminance": 0.27476
}

Semantic roles & 50–950 ramp

primary
#5BA021
secondary
#935BC2
accent
#3FE99B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA021

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

Preview Lab → · Contrast checker → · Palette generator →

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