#5BA225#5BA225

#5BA225 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.1% C 0.170 H 135.0°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5BA225
RGBrgb(91, 162, 37)
HSLhsl(94, 63%, 39%)
HSVhsv(94, 77%, 64%)
CMYKcmyk(43.8%, 0%, 77.2%, 36.5%)
CIE-LABlab(60.07, -43.06, 53.93)
CIE-LCHlch(60.07, 69.01, 128.60°)
OKLaboklab(64.14% -0.1204 0.1202)
OKLCHoklch(64.14% 0.17 135)
XYZxyz(17.5683, 28.1974, 6.2668)
Luminance0.2820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA225 #6C25A2
analogous
#9AA225 #5BA225 #25A22E
triadic
#5BA225 #255BA2 #A2255B
tetradic
#5BA225 #259AA2 #6C25A2 #A22E25
square
#5BA225 #259AA2 #6C25A2 #A22E25
split-complementary
#5BA225 #2E25A2 #A2259A
monochromatic
#233E0E #3F701A #5BA225 #77D134 #99DC65

Accessibility & contrast

On white

3.16
#5BA225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#5BA225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA225
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA225#FFFFFF#000000##000000
##5BA2251.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89406
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#599C8A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ba225;
/* rgb */ color: rgb(91, 162, 37);
/* oklch */ color: oklch(64.1% 0.170 135.0);
Tailwind
colors: {
  custom: {
    50: '#90be69',
    500: '#5ba225',
    950: '#000000',
  },
}
SCSS
$custom: #5ba225;
$custom-light: #90be69;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba225",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 94.08,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64137,
    "c": 0.17016,
    "h": 135
  },
  "luminance": 0.28198
}

Semantic roles & 50–950 ramp

primary
#5BA225
secondary
#9861C2
accent
#42E69F
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA225

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

Preview Lab → · Contrast checker → · Palette generator →

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