#5BA722#5BA722

#5BA722 is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.4% C 0.178 H 135.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5BA722
RGBrgb(91, 167, 34)
HSLhsl(94, 66%, 39%)
HSVhsv(94, 80%, 65%)
CMYKcmyk(45.5%, 0%, 79.6%, 34.5%)
CIE-LABlab(61.63, -45.27, 56.38)
CIE-LCHlch(61.63, 72.31, 128.76°)
OKLaboklab(65.42% -0.1266 0.1249)
OKLCHoklch(65.42% 0.178 135.4)
XYZxyz(18.4214, 29.9759, 6.3283)
Luminance0.2998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA722 #6E22A7
analogous
#9EA722 #5BA722 #22A72C
triadic
#5BA722 #225BA7 #A7225B
tetradic
#5BA722 #229EA7 #6E22A7 #A72C22
square
#5BA722 #229EA7 #6E22A7 #A72C22
split-complementary
#5BA722 #2C22A7 #A7229E
monochromatic
#24410D #3F7418 #5BA722 #77D531 #99DF64

Accessibility & contrast

On white

3.00
#5BA722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#5BA722 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA722
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA722#FFFFFF#000000##000000
##5BA7221.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#A39331
Tritanopia (blue-blind)
#59A08E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5ba722;
/* rgb */ color: rgb(91, 167, 34);
/* oklch */ color: oklch(65.4% 0.178 135.4);
Tailwind
colors: {
  custom: {
    50: '#90c269',
    500: '#5ba722',
    950: '#000000',
  },
}
SCSS
$custom: #5ba722;
$custom-light: #90c269;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba722",
  "rgb": {
    "r": 91,
    "g": 167,
    "b": 34
  },
  "hsl": {
    "h": 94.286,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65418,
    "c": 0.17782,
    "h": 135.4
  },
  "luminance": 0.29977
}

Semantic roles & 50–950 ramp

primary
#5BA722
secondary
#9A60C5
accent
#3FE9A0
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA722

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

Preview Lab → · Contrast checker → · Palette generator →

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