#5BA231#5BA231

#5BA231 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.2% C 0.163 H 136.1°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5BA231
RGBrgb(91, 162, 49)
HSLhsl(98, 54%, 41%)
HSVhsv(98, 70%, 64%)
CMYKcmyk(43.8%, 0%, 69.8%, 36.5%)
CIE-LABlab(60.15, -42.21, 49.57)
CIE-LCHlch(60.15, 65.10, 130.42°)
OKLaboklab(64.23% -0.1173 0.1128)
OKLCHoklch(64.23% 0.163 136.1)
XYZxyz(17.7886, 28.2855, 7.4275)
Luminance0.2829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA231 #7831A2
analogous
#94A231 #5BA231 #31A240
triadic
#5BA231 #315BA2 #A2315B
tetradic
#5BA231 #3194A2 #7831A2 #A24031
square
#5BA231 #3194A2 #7831A2 #A24031
split-complementary
#5BA231 #4031A2 #A23194
monochromatic
#264415 #417323 #5BA231 #78C848 #9BD677

Accessibility & contrast

On white

3.15
#5BA231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#5BA231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA231
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA231#FFFFFF#000000##000000
##5BA2311.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89520
Deuteranopia (green-blind)
#9E8F3B
Tritanopia (blue-blind)
#589C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ba231;
/* rgb */ color: rgb(91, 162, 49);
/* oklch */ color: oklch(64.2% 0.163 136.1);
Tailwind
colors: {
  custom: {
    50: '#8fbe6f',
    500: '#5ba231',
    950: '#000000',
  },
}
SCSS
$custom: #5ba231;
$custom-light: #8fbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba231",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 97.699,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64228,
    "c": 0.16274,
    "h": 136.1
  },
  "luminance": 0.28287
}

Semantic roles & 50–950 ramp

primary
#5BA231
secondary
#A171BE
accent
#4BDDA7
background
#F9FBF7
surface
#F1F7ED
border
#CBD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA231

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

Preview Lab → · Contrast checker → · Palette generator →

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