#5BA826#5BA826

#5BA826 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 65.7% C 0.177 H 135.8°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5BA826
RGBrgb(91, 168, 38)
HSLhsl(96, 63%, 40%)
HSVhsv(96, 77%, 66%)
CMYKcmyk(45.8%, 0%, 77.4%, 34.1%)
CIE-LABlab(61.97, -45.45, 55.43)
CIE-LCHlch(61.97, 71.68, 129.35°)
OKLaboklab(65.7% -0.1268 0.1235)
OKLCHoklch(65.7% 0.177 135.8)
XYZxyz(18.6664, 30.3682, 6.7114)
Luminance0.3037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA826 #7326A8
analogous
#9CA826 #5BA826 #26A832
triadic
#5BA826 #265BA8 #A8265B
tetradic
#5BA826 #269CA8 #7326A8 #A83226
square
#5BA826 #269CA8 #7326A8 #A83226
split-complementary
#5BA826 #3226A8 #A8269C
monochromatic
#25440F #40761B #5BA826 #77D239 #9ADE6B

Accessibility & contrast

On white

2.97
#5BA826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#5BA826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA826
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA826#FFFFFF#000000##000000
##5BA8261.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A04
Deuteranopia (green-blind)
#A49334
Tritanopia (blue-blind)
#58A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ba826;
/* rgb */ color: rgb(91, 168, 38);
/* oklch */ color: oklch(65.7% 0.177 135.8);
Tailwind
colors: {
  custom: {
    50: '#90c26b',
    500: '#5ba826',
    950: '#000000',
  },
}
SCSS
$custom: #5ba826;
$custom-light: #90c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba826",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 95.538,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65702,
    "c": 0.177,
    "h": 135.8
  },
  "luminance": 0.30369
}

Semantic roles & 50–950 ramp

primary
#5BA826
secondary
#9E66C4
accent
#42E6A3
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA826

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

Preview Lab → · Contrast checker → · Palette generator →

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