#5BA235#5BA235

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

Color values

HEX#5BA235
RGBrgb(91, 162, 53)
HSLhsl(99, 51%, 42%)
HSVhsv(99, 67%, 64%)
CMYKcmyk(43.8%, 0%, 67.3%, 36.5%)
CIE-LABlab(60.18, -41.88, 47.95)
CIE-LCHlch(60.18, 63.66, 131.13°)
OKLaboklab(64.26% -0.1161 0.11)
OKLCHoklch(64.26% 0.16 136.6)
XYZxyz(17.8768, 28.3208, 7.8920)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA235 #7C35A2
analogous
#91A235 #5BA235 #35A246
triadic
#5BA235 #355BA2 #A2355B
tetradic
#5BA235 #3591A2 #7C35A2 #A24635
square
#5BA235 #3591A2 #7C35A2 #A24635
split-complementary
#5BA235 #4635A2 #A23591
monochromatic
#274617 #417426 #5BA235 #78C54F #9BD47D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA235#FFFFFF#000000##000000
##5BA2351.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)
#A79526
Deuteranopia (green-blind)
#9E8F3E
Tritanopia (blue-blind)
#589C8C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ba235;
/* rgb */ color: rgb(91, 162, 53);
/* oklch */ color: oklch(64.3% 0.160 136.6);
Tailwind
colors: {
  custom: {
    50: '#8fbe72',
    500: '#5ba235',
    950: '#000000',
  },
}
SCSS
$custom: #5ba235;
$custom-light: #8fbe72;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba235",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 99.083,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64264,
    "c": 0.15989,
    "h": 136.6
  },
  "luminance": 0.28322
}

Semantic roles & 50–950 ramp

primary
#5BA235
secondary
#A475BD
accent
#4EDAA9
background
#F9FBF7
surface
#F1F7ED
border
#CBD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA235

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

Preview Lab → · Contrast checker → · Palette generator →

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