#5BA421#5BA421

#5BA421 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.6% C 0.175 H 135.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5BA421
RGBrgb(91, 164, 33)
HSLhsl(93, 66%, 39%)
HSVhsv(93, 80%, 64%)
CMYKcmyk(44.5%, 0%, 79.9%, 35.7%)
CIE-LABlab(60.68, -44.11, 55.79)
CIE-LCHlch(60.68, 71.12, 128.33°)
OKLaboklab(64.63% -0.1235 0.1235)
OKLCHoklch(64.63% 0.175 135)
XYZxyz(17.8640, 28.8838, 6.0724)
Luminance0.2888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA421 #6A21A4
analogous
#9CA421 #5BA421 #21A428
triadic
#5BA421 #215BA4 #A4215B
tetradic
#5BA421 #219CA4 #6A21A4 #A42821
square
#5BA421 #219CA4 #6A21A4 #A42821
split-complementary
#5BA421 #2821A4 #A4219C
monochromatic
#223E0C #3F7117 #5BA421 #78D52D #98DF60

Accessibility & contrast

On white

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

On black

6.78
#5BA421 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA421
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA421#FFFFFF#000000##000000
##5BA4211.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A19030
Tritanopia (blue-blind)
#599E8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5ba421;
/* rgb */ color: rgb(91, 164, 33);
/* oklch */ color: oklch(64.6% 0.175 135.0);
Tailwind
colors: {
  custom: {
    50: '#90bf68',
    500: '#5ba421',
    950: '#000000',
  },
}
SCSS
$custom: #5ba421;
$custom-light: #90bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba421",
  "rgb": {
    "r": 91,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 93.435,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64633,
    "c": 0.17466,
    "h": 135
  },
  "luminance": 0.28885
}

Semantic roles & 50–950 ramp

primary
#5BA421
secondary
#965DC4
accent
#3EE99E
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA421

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

Preview Lab → · Contrast checker → · Palette generator →

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