#5BA42E#5BA42E

#5BA42E is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 64.7% C 0.167 H 136.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5BA42E
RGBrgb(91, 164, 46)
HSLhsl(97, 56%, 41%)
HSVhsv(97, 72%, 64%)
CMYKcmyk(44.5%, 0%, 72%, 35.7%)
CIE-LABlab(60.76, -43.28, 51.37)
CIE-LCHlch(60.76, 67.17, 130.11°)
OKLaboklab(64.72% -0.1204 0.1162)
OKLCHoklch(64.72% 0.167 136)
XYZxyz(18.0825, 28.9712, 7.2234)
Luminance0.2897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA42E #772EA4
analogous
#96A42E #5BA42E #2EA43C
triadic
#5BA42E #2E5BA4 #A42E5B
tetradic
#5BA42E #2E96A4 #772EA4 #A43C2E
square
#5BA42E #2E96A4 #772EA4 #A43C2E
split-complementary
#5BA42E #3C2EA4 #A42E96
monochromatic
#264413 #407421 #5BA42E #78CB45 #9AD874

Accessibility & contrast

On white

3.09
#5BA42E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#5BA42E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA42E
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA42E#FFFFFF#000000##000000
##5BA42E1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961A
Deuteranopia (green-blind)
#A09039
Tritanopia (blue-blind)
#589E8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ba42e;
/* rgb */ color: rgb(91, 164, 46);
/* oklch */ color: oklch(64.7% 0.167 136.0);
Tailwind
colors: {
  custom: {
    50: '#90bf6e',
    500: '#5ba42e',
    950: '#000000',
  },
}
SCSS
$custom: #5ba42e;
$custom-light: #90bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba42e",
  "rgb": {
    "r": 91,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 97.119,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64721,
    "c": 0.16731,
    "h": 136
  },
  "luminance": 0.28972
}

Semantic roles & 50–950 ramp

primary
#5BA42E
secondary
#A16EC0
accent
#48DFA6
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA42E

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

Preview Lab → · Contrast checker → · Palette generator →

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