#5BA237#5BA237

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

Color values

HEX#5BA237
RGBrgb(91, 162, 55)
HSLhsl(100, 49%, 43%)
HSVhsv(100, 66%, 64%)
CMYKcmyk(43.8%, 0%, 66%, 36.5%)
CIE-LABlab(60.19, -41.70, 47.12)
CIE-LCHlch(60.19, 62.92, 131.51°)
OKLaboklab(64.28% -0.1155 0.1084)
OKLCHoklch(64.28% 0.158 136.8)
XYZxyz(17.9238, 28.3396, 8.1393)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA237 #7E37A2
analogous
#91A237 #5BA237 #37A248
triadic
#5BA237 #375BA2 #A2375B
tetradic
#5BA237 #3791A2 #7E37A2 #A24837
square
#5BA237 #3791A2 #7E37A2 #A24837
split-complementary
#5BA237 #4837A2 #A23791
monochromatic
#284718 #417427 #5BA237 #78C452 #9CD480

Accessibility & contrast

On white

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

On black

6.67
#5BA237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA237
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA237#FFFFFF#000000##000000
##5BA2371.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79529
Deuteranopia (green-blind)
#9E8F40
Tritanopia (blue-blind)
#589C8C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ba237;
/* rgb */ color: rgb(91, 162, 55);
/* oklch */ color: oklch(64.3% 0.158 136.8);
Tailwind
colors: {
  custom: {
    50: '#8fbe73',
    500: '#5ba237',
    950: '#000000',
  },
}
SCSS
$custom: #5ba237;
$custom-light: #8fbe73;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba237",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 99.813,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64283,
    "c": 0.1584,
    "h": 136.8
  },
  "luminance": 0.28341
}

Semantic roles & 50–950 ramp

primary
#5BA237
secondary
#A678BD
accent
#4FD9AA
background
#F9FBF7
surface
#F1F7ED
border
#CBD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA237

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

Preview Lab → · Contrast checker → · Palette generator →

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