#5BA022#5BA022

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

Color values

HEX#5BA022
RGBrgb(91, 160, 34)
HSLhsl(93, 65%, 38%)
HSVhsv(93, 79%, 63%)
CMYKcmyk(43.1%, 0%, 78.8%, 37.3%)
CIE-LABlab(59.42, -42.40, 54.29)
CIE-LCHlch(59.42, 68.89, 127.99°)
OKLaboklab(63.6% -0.1188 0.1205)
OKLCHoklch(63.6% 0.169 134.6)
XYZxyz(17.1736, 27.4803, 5.9124)
Luminance0.2748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA022 #6722A0
analogous
#9AA022 #5BA022 #22A028
triadic
#5BA022 #225BA0 #A0225B
tetradic
#5BA022 #229AA0 #6722A0 #A02822
square
#5BA022 #229AA0 #6722A0 #A02822
split-complementary
#5BA022 #2822A0 #A0229A
monochromatic
#223B0D #3E6E17 #5BA022 #78D22D #98DD5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA022#FFFFFF#000000##000000
##5BA0221.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)
#9D8D30
Tritanopia (blue-blind)
#5A9A89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5ba022;
/* rgb */ color: rgb(91, 160, 34);
/* oklch */ color: oklch(63.6% 0.169 134.6);
Tailwind
colors: {
  custom: {
    50: '#90bc68',
    500: '#5ba022',
    950: '#000000',
  },
}
SCSS
$custom: #5ba022;
$custom-light: #90bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba022",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 92.857,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63599,
    "c": 0.16926,
    "h": 134.6
  },
  "luminance": 0.27481
}

Semantic roles & 50–950 ramp

primary
#5BA022
secondary
#945CC2
accent
#40E89C
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA022

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

Preview Lab → · Contrast checker → · Palette generator →

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