#5BA830#5BA830

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

Color values

HEX#5BA830
RGBrgb(91, 168, 48)
HSLhsl(99, 56%, 42%)
HSVhsv(99, 71%, 66%)
CMYKcmyk(45.8%, 0%, 71.4%, 34.1%)
CIE-LABlab(62.03, -44.77, 51.91)
CIE-LCHlch(62.03, 68.55, 130.77°)
OKLaboklab(65.77% -0.1243 0.1176)
OKLCHoklch(65.77% 0.171 136.6)
XYZxyz(18.8500, 30.4416, 7.6783)
Luminance0.3044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA830 #7D30A8
analogous
#97A830 #5BA830 #30A841
triadic
#5BA830 #305BA8 #A8305B
tetradic
#5BA830 #3097A8 #7D30A8 #A84130
square
#5BA830 #3097A8 #7D30A8 #A84130
split-complementary
#5BA830 #4130A8 #A83097
monochromatic
#274915 #417822 #5BA830 #78CB4A #9CD97A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA830#FFFFFF#000000##000000
##5BA8301.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)
#AE9A1C
Deuteranopia (green-blind)
#A3943B
Tritanopia (blue-blind)
#57A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ba830;
/* rgb */ color: rgb(91, 168, 48);
/* oklch */ color: oklch(65.8% 0.171 136.6);
Tailwind
colors: {
  custom: {
    50: '#90c270',
    500: '#5ba830',
    950: '#000000',
  },
}
SCSS
$custom: #5ba830;
$custom-light: #90c270;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba830",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 98.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65773,
    "c": 0.17111,
    "h": 136.6
  },
  "luminance": 0.30443
}

Semantic roles & 50–950 ramp

primary
#5BA830
secondary
#A573C1
accent
#49DFA9
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA830

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

Preview Lab → · Contrast checker → · Palette generator →

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