#5BA126#5BA126

#5BA126 is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 63.9% C 0.168 H 135.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5BA126
RGBrgb(91, 161, 38)
HSLhsl(94, 62%, 39%)
HSVhsv(94, 76%, 63%)
CMYKcmyk(43.5%, 0%, 76.4%, 36.9%)
CIE-LABlab(59.76, -42.58, 53.29)
CIE-LCHlch(59.76, 68.21, 128.63°)
OKLaboklab(63.88% -0.1191 0.119)
OKLCHoklch(63.88% 0.168 135)
XYZxyz(17.4087, 27.8528, 6.2922)
Luminance0.2785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA126 #6C26A1
analogous
#99A126 #5BA126 #26A12E
triadic
#5BA126 #265BA1 #A1265B
tetradic
#5BA126 #2699A1 #6C26A1 #A12E26
square
#5BA126 #2699A1 #6C26A1 #A12E26
split-complementary
#5BA126 #2E26A1 #A12699
monochromatic
#233E0F #3F6F1A #5BA126 #77CF35 #99DB66

Accessibility & contrast

On white

3.20
#5BA126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5BA126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA126
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA126#FFFFFF#000000##000000
##5BA1261.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79409
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#599B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba126;
/* rgb */ color: rgb(91, 161, 38);
/* oklch */ color: oklch(63.9% 0.168 135.0);
Tailwind
colors: {
  custom: {
    50: '#90bd6a',
    500: '#5ba126',
    950: '#000000',
  },
}
SCSS
$custom: #5ba126;
$custom-light: #90bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba126",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 94.146,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63884,
    "c": 0.16836,
    "h": 135
  },
  "luminance": 0.27854
}

Semantic roles & 50–950 ramp

primary
#5BA126
secondary
#9862C1
accent
#43E59F
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA126

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

Preview Lab → · Contrast checker → · Palette generator →

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