#5BA526#5BA526

#5BA526 is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 64.9% C 0.173 H 135.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5BA526
RGBrgb(91, 165, 38)
HSLhsl(95, 63%, 40%)
HSVhsv(95, 77%, 65%)
CMYKcmyk(44.8%, 0%, 77%, 35.3%)
CIE-LABlab(61.02, -44.23, 54.52)
CIE-LCHlch(61.02, 70.20, 129.05°)
OKLaboklab(64.92% -0.1235 0.1216)
OKLCHoklch(64.92% 0.173 135.4)
XYZxyz(18.1189, 29.2733, 6.5289)
Luminance0.2927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA526 #7026A5
analogous
#9AA526 #5BA526 #26A531
triadic
#5BA526 #265BA5 #A5265B
tetradic
#5BA526 #269AA5 #7026A5 #A53126
square
#5BA526 #269AA5 #7026A5 #A53126
split-complementary
#5BA526 #3126A5 #A5269A
monochromatic
#24420F #40731B #5BA526 #77D137 #99DC69

Accessibility & contrast

On white

3.06
#5BA526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#5BA526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA526
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA526#FFFFFF#000000##000000
##5BA5261.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9706
Deuteranopia (green-blind)
#A19133
Tritanopia (blue-blind)
#599F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ba526;
/* rgb */ color: rgb(91, 165, 38);
/* oklch */ color: oklch(64.9% 0.173 135.4);
Tailwind
colors: {
  custom: {
    50: '#90c06a',
    500: '#5ba526',
    950: '#000000',
  },
}
SCSS
$custom: #5ba526;
$custom-light: #90c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba526",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 94.961,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64923,
    "c": 0.17332,
    "h": 135.4
  },
  "luminance": 0.29274
}

Semantic roles & 50–950 ramp

primary
#5BA526
secondary
#9B64C3
accent
#42E6A1
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA526

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

Preview Lab → · Contrast checker → · Palette generator →

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