#5BA626#5BA626

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

Color values

HEX#5BA626
RGBrgb(91, 166, 38)
HSLhsl(95, 63%, 40%)
HSVhsv(95, 77%, 65%)
CMYKcmyk(45.2%, 0%, 77.1%, 34.9%)
CIE-LABlab(61.34, -44.64, 54.82)
CIE-LCHlch(61.34, 70.69, 129.15°)
OKLaboklab(65.18% -0.1246 0.1222)
OKLCHoklch(65.18% 0.175 135.6)
XYZxyz(18.3000, 29.6354, 6.5893)
Luminance0.2964 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA626 #7126A6
analogous
#9BA626 #5BA626 #26A631
triadic
#5BA626 #265BA6 #A6265B
tetradic
#5BA626 #269BA6 #7126A6 #A63126
square
#5BA626 #269BA6 #7126A6 #A63126
split-complementary
#5BA626 #3126A6 #A6269B
monochromatic
#24420F #40741B #5BA626 #77D138 #99DD6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA626#FFFFFF#000000##000000
##5BA6261.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)
#AC9805
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#58A08E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5ba626;
/* rgb */ color: rgb(91, 166, 38);
/* oklch */ color: oklch(65.2% 0.175 135.6);
Tailwind
colors: {
  custom: {
    50: '#90c16a',
    500: '#5ba626',
    950: '#000000',
  },
}
SCSS
$custom: #5ba626;
$custom-light: #90c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba626",
  "rgb": {
    "r": 91,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 95.156,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.65183,
    "c": 0.17455,
    "h": 135.6
  },
  "luminance": 0.29637
}

Semantic roles & 50–950 ramp

primary
#5BA626
secondary
#9C65C3
accent
#42E6A2
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA626

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

Preview Lab → · Contrast checker → · Palette generator →

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