#5BA422#5BA422

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

Color values

HEX#5BA422
RGBrgb(91, 164, 34)
HSLhsl(94, 66%, 39%)
HSVhsv(94, 79%, 64%)
CMYKcmyk(44.5%, 0%, 79.3%, 35.7%)
CIE-LABlab(60.68, -44.05, 55.49)
CIE-LCHlch(60.68, 70.85, 128.45°)
OKLaboklab(64.64% -0.1233 0.123)
OKLCHoklch(64.64% 0.174 135.1)
XYZxyz(17.8782, 28.8895, 6.1473)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA422 #6B22A4
analogous
#9CA422 #5BA422 #22A42A
triadic
#5BA422 #225BA4 #A4225B
tetradic
#5BA422 #229CA4 #6B22A4 #A42A22
square
#5BA422 #229CA4 #6B22A4 #A42A22
split-complementary
#5BA422 #2A22A4 #A4229C
monochromatic
#233F0D #3F7117 #5BA422 #77D42F #99DE62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA422#FFFFFF#000000##000000
##5BA4221.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)
#A19031
Tritanopia (blue-blind)
#599E8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5ba422;
/* rgb */ color: rgb(91, 164, 34);
/* oklch */ color: oklch(64.6% 0.174 135.1);
Tailwind
colors: {
  custom: {
    50: '#90bf68',
    500: '#5ba422',
    950: '#000000',
  },
}
SCSS
$custom: #5ba422;
$custom-light: #90bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba422",
  "rgb": {
    "r": 91,
    "g": 164,
    "b": 34
  },
  "hsl": {
    "h": 93.692,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64639,
    "c": 0.17417,
    "h": 135.1
  },
  "luminance": 0.28891
}

Semantic roles & 50–950 ramp

primary
#5BA422
secondary
#975EC4
accent
#3FE99E
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA422

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

Preview Lab → · Contrast checker → · Palette generator →

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