#5BA120#5BA120

#5BA120 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.8% C 0.171 H 134.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5BA120
RGBrgb(91, 161, 32)
HSLhsl(93, 67%, 38%)
HSVhsv(93, 80%, 63%)
CMYKcmyk(43.5%, 0%, 80.1%, 36.9%)
CIE-LABlab(59.72, -42.93, 55.21)
CIE-LCHlch(59.72, 69.93, 127.87°)
OKLaboklab(63.85% -0.1204 0.1221)
OKLCHoklch(63.85% 0.171 134.6)
XYZxyz(17.3196, 27.8172, 5.8229)
Luminance0.2782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA120 #6620A1
analogous
#9BA120 #5BA120 #20A125
triadic
#5BA120 #205BA1 #A1205B
tetradic
#5BA120 #209BA1 #6620A1 #A12520
square
#5BA120 #209BA1 #6620A1 #A12520
split-complementary
#5BA120 #2520A1 #A1209B
monochromatic
#213B0C #3E6E16 #5BA120 #78D42A #98DF5D

Accessibility & contrast

On white

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

On black

6.56
#5BA120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA120
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA120#FFFFFF#000000##000000
##5BA1201.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#5A9B89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba120;
/* rgb */ color: rgb(91, 161, 32);
/* oklch */ color: oklch(63.8% 0.171 134.6);
Tailwind
colors: {
  custom: {
    50: '#90bd67',
    500: '#5ba120',
    950: '#000000',
  },
}
SCSS
$custom: #5ba120;
$custom-light: #90bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba120",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 92.558,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63847,
    "c": 0.17149,
    "h": 134.6
  },
  "luminance": 0.27818
}

Semantic roles & 50–950 ramp

primary
#5BA120
secondary
#935AC3
accent
#3EEA9B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA120

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

Preview Lab → · Contrast checker → · Palette generator →

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