#5BA92B#5BA92B

#5BA92B is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.0% C 0.175 H 136.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5BA92B
RGBrgb(91, 169, 43)
HSLhsl(97, 59%, 42%)
HSVhsv(97, 75%, 66%)
CMYKcmyk(46.2%, 0%, 74.6%, 33.7%)
CIE-LABlab(62.32, -45.53, 54.05)
CIE-LCHlch(62.32, 70.67, 130.11°)
OKLaboklab(65.99% -0.1267 0.1214)
OKLCHoklch(65.99% 0.175 136.2)
XYZxyz(18.9379, 30.7733, 7.2270)
Luminance0.3077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA92B #792BA9
analogous
#9AA92B #5BA92B #2BA93A
triadic
#5BA92B #2B5BA9 #A92B5B
tetradic
#5BA92B #2B9AA9 #792BA9 #A93A2B
square
#5BA92B #2B9AA9 #792BA9 #A93A2B
split-complementary
#5BA92B #3A2BA9 #A92B9A
monochromatic
#264712 #41781F #5BA92B #78CF42 #9BDB73

Accessibility & contrast

On white

2.94
#5BA92B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#5BA92B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA92B
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA92B#FFFFFF#000000##000000
##5BA92B1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B12
Deuteranopia (green-blind)
#A59438
Tritanopia (blue-blind)
#58A391
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5ba92b;
/* rgb */ color: rgb(91, 169, 43);
/* oklch */ color: oklch(66.0% 0.175 136.2);
Tailwind
colors: {
  custom: {
    50: '#90c36d',
    500: '#5ba92b',
    950: '#000000',
  },
}
SCSS
$custom: #5ba92b;
$custom-light: #90c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba92b",
  "rgb": {
    "r": 91,
    "g": 169,
    "b": 43
  },
  "hsl": {
    "h": 97.143,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65994,
    "c": 0.17545,
    "h": 136.2
  },
  "luminance": 0.30774
}

Semantic roles & 50–950 ramp

primary
#5BA92B
secondary
#A26DC3
accent
#45E3A7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA92B

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

Preview Lab → · Contrast checker → · Palette generator →

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