#5BA522#5BA522

#5BA522 is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.9% C 0.175 H 135.2°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5BA522
RGBrgb(91, 165, 34)
HSLhsl(94, 66%, 39%)
HSVhsv(94, 79%, 65%)
CMYKcmyk(44.8%, 0%, 79.4%, 35.3%)
CIE-LABlab(61.00, -44.46, 55.79)
CIE-LCHlch(61.00, 71.34, 128.55°)
OKLaboklab(64.9% -0.1244 0.1237)
OKLCHoklch(64.9% 0.175 135.2)
XYZxyz(18.0578, 29.2488, 6.2071)
Luminance0.2925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA522 #6C22A5
analogous
#9DA522 #5BA522 #22A52B
triadic
#5BA522 #225BA5 #A5225B
tetradic
#5BA522 #229DA5 #6C22A5 #A52B22
square
#5BA522 #229DA5 #6C22A5 #A52B22
split-complementary
#5BA522 #2B22A5 #A5229D
monochromatic
#23400D #3F7218 #5BA522 #77D430 #99DF63

Accessibility & contrast

On white

3.07
#5BA522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#5BA522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA522
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA522#FFFFFF#000000##000000
##5BA5221.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#599F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ba522;
/* rgb */ color: rgb(91, 165, 34);
/* oklch */ color: oklch(64.9% 0.175 135.2);
Tailwind
colors: {
  custom: {
    50: '#90c068',
    500: '#5ba522',
    950: '#000000',
  },
}
SCSS
$custom: #5ba522;
$custom-light: #90c068;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba522",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 93.893,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64898,
    "c": 0.17539,
    "h": 135.2
  },
  "luminance": 0.2925
}

Semantic roles & 50–950 ramp

primary
#5BA522
secondary
#985FC4
accent
#3FE99F
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA522

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

Preview Lab → · Contrast checker → · Palette generator →

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