#5BA226#5BA226

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

Color values

HEX#5BA226
RGBrgb(91, 162, 38)
HSLhsl(94, 62%, 39%)
HSVhsv(94, 77%, 64%)
CMYKcmyk(43.8%, 0%, 76.5%, 36.5%)
CIE-LABlab(60.07, -42.99, 53.60)
CIE-LCHlch(60.07, 68.71, 128.74°)
OKLaboklab(64.14% -0.1202 0.1197)
OKLCHoklch(64.14% 0.17 135.1)
XYZxyz(17.5842, 28.2037, 6.3507)
Luminance0.2821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA226 #6D26A2
analogous
#99A226 #5BA226 #26A22F
triadic
#5BA226 #265BA2 #A2265B
tetradic
#5BA226 #2699A2 #6D26A2 #A22F26
square
#5BA226 #2699A2 #6D26A2 #A22F26
split-complementary
#5BA226 #2F26A2 #A22699
monochromatic
#233F0F #3F701A #5BA226 #77D035 #99DB67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA226#FFFFFF#000000##000000
##5BA2261.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)
#A89409
Deuteranopia (green-blind)
#9F8F33
Tritanopia (blue-blind)
#599C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ba226;
/* rgb */ color: rgb(91, 162, 38);
/* oklch */ color: oklch(64.1% 0.170 135.1);
Tailwind
colors: {
  custom: {
    50: '#90be6a',
    500: '#5ba226',
    950: '#000000',
  },
}
SCSS
$custom: #5ba226;
$custom-light: #90be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba226",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 94.355,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64144,
    "c": 0.1696,
    "h": 135.1
  },
  "luminance": 0.28205
}

Semantic roles & 50–950 ramp

primary
#5BA226
secondary
#9963C1
accent
#43E5A0
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA226

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

Preview Lab → · Contrast checker → · Palette generator →

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