#5BA82F#5BA82F

#5BA82F is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 65.8% C 0.172 H 136.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5BA82F
RGBrgb(91, 168, 47)
HSLhsl(98, 56%, 42%)
HSVhsv(98, 72%, 66%)
CMYKcmyk(45.8%, 0%, 72%, 34.1%)
CIE-LABlab(62.03, -44.84, 52.29)
CIE-LCHlch(62.03, 68.88, 130.62°)
OKLaboklab(65.77% -0.1246 0.1182)
OKLCHoklch(65.77% 0.172 136.5)
XYZxyz(18.8296, 30.4335, 7.5708)
Luminance0.3044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA82F #7C2FA8
analogous
#98A82F #5BA82F #2FA840
triadic
#5BA82F #2F5BA8 #A82F5B
tetradic
#5BA82F #2F98A8 #7C2FA8 #A8402F
square
#5BA82F #2F98A8 #7C2FA8 #A8402F
split-complementary
#5BA82F #402FA8 #A82F98
monochromatic
#274814 #417822 #5BA82F #78CC48 #9BD978

Accessibility & contrast

On white

2.96
#5BA82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#5BA82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA82F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA82F#FFFFFF#000000##000000
##5BA82F1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1B
Deuteranopia (green-blind)
#A4943B
Tritanopia (blue-blind)
#57A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ba82f;
/* rgb */ color: rgb(91, 168, 47);
/* oklch */ color: oklch(65.8% 0.172 136.5);
Tailwind
colors: {
  custom: {
    50: '#90c26f',
    500: '#5ba82f',
    950: '#000000',
  },
}
SCSS
$custom: #5ba82f;
$custom-light: #90c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba82f",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 98.182,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65765,
    "c": 0.17174,
    "h": 136.5
  },
  "luminance": 0.30435
}

Semantic roles & 50–950 ramp

primary
#5BA82F
secondary
#A471C1
accent
#48E0A9
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA82F

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

Preview Lab → · Contrast checker → · Palette generator →

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