#5BA628#5BA628

#5BA628 is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.2% C 0.173 H 135.7°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5BA628
RGBrgb(91, 166, 40)
HSLhsl(96, 61%, 40%)
HSVhsv(96, 76%, 65%)
CMYKcmyk(45.2%, 0%, 75.9%, 34.9%)
CIE-LABlab(61.35, -44.51, 54.15)
CIE-LCHlch(61.35, 70.10, 129.42°)
OKLaboklab(65.2% -0.1241 0.1211)
OKLCHoklch(65.2% 0.173 135.7)
XYZxyz(18.3332, 29.6487, 6.7638)
Luminance0.2965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA628 #7328A6
analogous
#9AA628 #5BA628 #28A634
triadic
#5BA628 #285BA6 #A6285B
tetradic
#5BA628 #289AA6 #7328A6 #A63428
square
#5BA628 #289AA6 #7328A6 #A63428
split-complementary
#5BA628 #3428A6 #A6289A
monochromatic
#254310 #40751C #5BA628 #77D03B #9ADC6D

Accessibility & contrast

On white

3.03
#5BA628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#5BA628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA628
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA628#FFFFFF#000000##000000
##5BA6281.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980C
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#58A08E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5ba628;
/* rgb */ color: rgb(91, 166, 40);
/* oklch */ color: oklch(65.2% 0.173 135.7);
Tailwind
colors: {
  custom: {
    50: '#90c16b',
    500: '#5ba628',
    950: '#000000',
  },
}
SCSS
$custom: #5ba628;
$custom-light: #90c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba628",
  "rgb": {
    "r": 91,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 95.714,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65196,
    "c": 0.17345,
    "h": 135.7
  },
  "luminance": 0.2965
}

Semantic roles & 50–950 ramp

primary
#5BA628
secondary
#9E67C2
accent
#44E4A3
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA628

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

Preview Lab → · Contrast checker → · Palette generator →

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