#5BA229#5BA229

#5BA229 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.2% C 0.168 H 135.4°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5BA229
RGBrgb(91, 162, 41)
HSLhsl(95, 60%, 40%)
HSVhsv(95, 75%, 64%)
CMYKcmyk(43.8%, 0%, 74.7%, 36.5%)
CIE-LABlab(60.09, -42.80, 52.56)
CIE-LCHlch(60.09, 67.79, 129.16°)
OKLaboklab(64.16% -0.1195 0.118)
OKLCHoklch(64.16% 0.168 135.4)
XYZxyz(17.6345, 28.2239, 6.6159)
Luminance0.2823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA229 #7029A2
analogous
#97A229 #5BA229 #29A234
triadic
#5BA229 #295BA2 #A2295B
tetradic
#5BA229 #2997A2 #7029A2 #A23429
square
#5BA229 #2997A2 #7029A2 #A23429
split-complementary
#5BA229 #3429A2 #A22997
monochromatic
#244010 #40711D #5BA229 #77CD3B #99DA6C

Accessibility & contrast

On white

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

On black

6.65
#5BA229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA229
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA229#FFFFFF#000000##000000
##5BA2291.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89411
Deuteranopia (green-blind)
#9F8F35
Tritanopia (blue-blind)
#599C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ba229;
/* rgb */ color: rgb(91, 162, 41);
/* oklch */ color: oklch(64.2% 0.168 135.4);
Tailwind
colors: {
  custom: {
    50: '#90be6b',
    500: '#5ba229',
    950: '#000000',
  },
}
SCSS
$custom: #5ba229;
$custom-light: #90be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba229",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 95.207,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64164,
    "c": 0.16788,
    "h": 135.4
  },
  "luminance": 0.28225
}

Semantic roles & 50–950 ramp

primary
#5BA229
secondary
#9B67C0
accent
#45E3A2
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA229

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

Preview Lab → · Contrast checker → · Palette generator →

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