#5BA230#5BA230

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

Color values

HEX#5BA230
RGBrgb(91, 162, 48)
HSLhsl(97, 54%, 41%)
HSVhsv(97, 70%, 64%)
CMYKcmyk(43.8%, 0%, 70.4%, 36.5%)
CIE-LABlab(60.14, -42.29, 49.96)
CIE-LCHlch(60.14, 65.46, 130.25°)
OKLaboklab(64.22% -0.1176 0.1135)
OKLCHoklch(64.22% 0.163 136)
XYZxyz(17.7678, 28.2772, 7.3176)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA230 #7730A2
analogous
#94A230 #5BA230 #30A23E
triadic
#5BA230 #305BA2 #A2305B
tetradic
#5BA230 #3094A2 #7730A2 #A23E30
square
#5BA230 #3094A2 #7730A2 #A23E30
split-complementary
#5BA230 #3E30A2 #A23094
monochromatic
#264414 #407322 #5BA230 #78C847 #9AD676

Accessibility & contrast

On white

3.16
#5BA230 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA230#FFFFFF#000000##000000
##5BA2301.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5ba230;
/* rgb */ color: rgb(91, 162, 48);
/* oklch */ color: oklch(64.2% 0.163 136.0);
Tailwind
colors: {
  custom: {
    50: '#8fbe6f',
    500: '#5ba230',
    950: '#000000',
  },
}
SCSS
$custom: #5ba230;
$custom-light: #8fbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba230",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 97.368,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64219,
    "c": 0.16343,
    "h": 136
  },
  "luminance": 0.28278
}

Semantic roles & 50–950 ramp

primary
#5BA230
secondary
#A16FBE
accent
#4ADEA6
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA230

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

Preview Lab → · Contrast checker → · Palette generator →

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