#5BA62F#5BA62F

#5BA62F is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.2% C 0.169 H 136.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5BA62F
RGBrgb(91, 166, 47)
HSLhsl(98, 56%, 42%)
HSVhsv(98, 72%, 65%)
CMYKcmyk(45.2%, 0%, 71.7%, 34.9%)
CIE-LABlab(61.40, -44.03, 51.64)
CIE-LCHlch(61.40, 67.86, 130.45°)
OKLaboklab(65.25% -0.1223 0.1169)
OKLCHoklch(65.25% 0.169 136.3)
XYZxyz(18.4632, 29.7007, 7.4487)
Luminance0.2970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA62F #7A2FA6
analogous
#97A62F #5BA62F #2FA63E
triadic
#5BA62F #2F5BA6 #A62F5B
tetradic
#5BA62F #2F97A6 #7A2FA6 #A63E2F
square
#5BA62F #2F97A6 #7A2FA6 #A63E2F
split-complementary
#5BA62F #3E2FA6 #A62F97
monochromatic
#274714 #417621 #5BA62F #78CB47 #9BD877

Accessibility & contrast

On white

3.03
#5BA62F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#5BA62F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA62F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA62F#FFFFFF#000000##000000
##5BA62F1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981B
Deuteranopia (green-blind)
#A2923A
Tritanopia (blue-blind)
#58A08F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5ba62f;
/* rgb */ color: rgb(91, 166, 47);
/* oklch */ color: oklch(65.2% 0.169 136.3);
Tailwind
colors: {
  custom: {
    50: '#90c16f',
    500: '#5ba62f',
    950: '#000000',
  },
}
SCSS
$custom: #5ba62f;
$custom-light: #90c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba62f",
  "rgb": {
    "r": 91,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 97.815,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65247,
    "c": 0.16922,
    "h": 136.3
  },
  "luminance": 0.29702
}

Semantic roles & 50–950 ramp

primary
#5BA62F
secondary
#A370C1
accent
#49DFA8
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA62F

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

Preview Lab → · Contrast checker → · Palette generator →

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