#5BA831#5BA831

#5BA831 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 65.8% C 0.170 H 136.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5BA831
RGBrgb(91, 168, 49)
HSLhsl(99, 55%, 43%)
HSVhsv(99, 71%, 66%)
CMYKcmyk(45.8%, 0%, 70.8%, 34.1%)
CIE-LABlab(62.04, -44.69, 51.53)
CIE-LCHlch(62.04, 68.21, 130.93°)
OKLaboklab(65.78% -0.124 0.1169)
OKLCHoklch(65.78% 0.17 136.7)
XYZxyz(18.8709, 30.4500, 7.7882)
Luminance0.3045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA831 #7E31A8
analogous
#96A831 #5BA831 #31A843
triadic
#5BA831 #315BA8 #A8315B
tetradic
#5BA831 #3196A8 #7E31A8 #A84331
square
#5BA831 #3196A8 #7E31A8 #A84331
split-complementary
#5BA831 #4331A8 #A83196
monochromatic
#284915 #417923 #5BA831 #78CB4C #9CD87B

Accessibility & contrast

On white

2.96
#5BA831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#5BA831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA831
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA831#FFFFFF#000000##000000
##5BA8311.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1E
Deuteranopia (green-blind)
#A3943C
Tritanopia (blue-blind)
#57A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ba831;
/* rgb */ color: rgb(91, 168, 49);
/* oklch */ color: oklch(65.8% 0.170 136.7);
Tailwind
colors: {
  custom: {
    50: '#90c270',
    500: '#5ba831',
    950: '#000000',
  },
}
SCSS
$custom: #5ba831;
$custom-light: #90c270;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba831",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 98.824,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65781,
    "c": 0.17045,
    "h": 136.7
  },
  "luminance": 0.30451
}

Semantic roles & 50–950 ramp

primary
#5BA831
secondary
#A674C1
accent
#4ADEAA
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA831

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

Preview Lab → · Contrast checker → · Palette generator →

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