#5BA823#5BA823

#5BA823 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 65.7% C 0.179 H 135.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5BA823
RGBrgb(91, 168, 35)
HSLhsl(95, 66%, 40%)
HSVhsv(95, 79%, 66%)
CMYKcmyk(45.8%, 0%, 79.2%, 34.1%)
CIE-LABlab(61.95, -45.62, 56.37)
CIE-LCHlch(61.95, 72.52, 128.98°)
OKLaboklab(65.68% -0.1274 0.125)
OKLCHoklch(65.68% 0.179 135.5)
XYZxyz(18.6199, 30.3496, 6.4667)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA823 #7023A8
analogous
#9DA823 #5BA823 #23A82E
triadic
#5BA823 #235BA8 #A8235B
tetradic
#5BA823 #239DA8 #7023A8 #A82E23
square
#5BA823 #239DA8 #7023A8 #A82E23
split-complementary
#5BA823 #2E23A8 #A8239D
monochromatic
#24430E #407518 #5BA823 #77D534 #99DF66

Accessibility & contrast

On white

2.97
#5BA823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#5BA823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA823
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA823#FFFFFF#000000##000000
##5BA8231.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#A49332
Tritanopia (blue-blind)
#58A18F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ba823;
/* rgb */ color: rgb(91, 168, 35);
/* oklch */ color: oklch(65.7% 0.179 135.5);
Tailwind
colors: {
  custom: {
    50: '#91c269',
    500: '#5ba823',
    950: '#000000',
  },
}
SCSS
$custom: #5ba823;
$custom-light: #91c269;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba823",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 94.737,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65683,
    "c": 0.17854,
    "h": 135.5
  },
  "luminance": 0.30351
}

Semantic roles & 50–950 ramp

primary
#5BA823
secondary
#9B62C5
accent
#3FE8A1
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA823

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

Preview Lab → · Contrast checker → · Palette generator →

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