#5BA326#5BA326

#5BA326 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.4% C 0.171 H 135.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5BA326
RGBrgb(91, 163, 38)
HSLhsl(95, 62%, 39%)
HSVhsv(95, 77%, 64%)
CMYKcmyk(44.2%, 0%, 76.7%, 36.1%)
CIE-LABlab(60.39, -43.41, 53.90)
CIE-LCHlch(60.39, 69.21, 128.84°)
OKLaboklab(64.4% -0.1213 0.1203)
OKLCHoklch(64.4% 0.171 135.2)
XYZxyz(17.7610, 28.5574, 6.4096)
Luminance0.2856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA326 #6E26A3
analogous
#9AA326 #5BA326 #26A330
triadic
#5BA326 #265BA3 #A3265B
tetradic
#5BA326 #269AA3 #6E26A3 #A33026
square
#5BA326 #269AA3 #6E26A3 #A33026
split-complementary
#5BA326 #3026A3 #A3269A
monochromatic
#24400F #3F711A #5BA326 #77D036 #99DC68

Accessibility & contrast

On white

3.13
#5BA326 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#5BA326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA326
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA326#FFFFFF#000000##000000
##5BA3261.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99508
Deuteranopia (green-blind)
#A08F33
Tritanopia (blue-blind)
#599D8B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5ba326;
/* rgb */ color: rgb(91, 163, 38);
/* oklch */ color: oklch(64.4% 0.171 135.2);
Tailwind
colors: {
  custom: {
    50: '#90bf6a',
    500: '#5ba326',
    950: '#000000',
  },
}
SCSS
$custom: #5ba326;
$custom-light: #90bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba326",
  "rgb": {
    "r": 91,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 94.56,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64404,
    "c": 0.17085,
    "h": 135.2
  },
  "luminance": 0.28558
}

Semantic roles & 50–950 ramp

primary
#5BA326
secondary
#9A63C2
accent
#43E5A0
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA326

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

Preview Lab → · Contrast checker → · Palette generator →

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