#5BA223#5BA223

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

Color values

HEX#5BA223
RGBrgb(91, 162, 35)
HSLhsl(94, 64%, 39%)
HSVhsv(94, 78%, 64%)
CMYKcmyk(43.8%, 0%, 78.4%, 36.5%)
CIE-LABlab(60.06, -43.17, 54.58)
CIE-LCHlch(60.06, 69.59, 128.35°)
OKLaboklab(64.13% -0.1209 0.1213)
OKLCHoklch(64.13% 0.171 134.9)
XYZxyz(17.5377, 28.1852, 6.1060)
Luminance0.2819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA223 #6A23A2
analogous
#9AA223 #5BA223 #23A22A
triadic
#5BA223 #235BA2 #A2235B
tetradic
#5BA223 #239AA2 #6A23A2 #A22A23
square
#5BA223 #239AA2 #6A23A2 #A22A23
split-complementary
#5BA223 #2A23A2 #A2239A
monochromatic
#223D0D #3F7018 #5BA223 #78D230 #98DD62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA223#FFFFFF#000000##000000
##5BA2231.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)
#A89400
Deuteranopia (green-blind)
#9F8F31
Tritanopia (blue-blind)
#599C8A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ba223;
/* rgb */ color: rgb(91, 162, 35);
/* oklch */ color: oklch(64.1% 0.171 134.9);
Tailwind
colors: {
  custom: {
    50: '#90be68',
    500: '#5ba223',
    950: '#000000',
  },
}
SCSS
$custom: #5ba223;
$custom-light: #90be68;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba223",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 93.543,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64125,
    "c": 0.17121,
    "h": 134.9
  },
  "luminance": 0.28186
}

Semantic roles & 50–950 ramp

primary
#5BA223
secondary
#965EC2
accent
#40E79E
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA223

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

Preview Lab → · Contrast checker → · Palette generator →

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