#5BAA1F#5BAA1F

#5BAA1F is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.183 H 135.5°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5BAA1F
RGBrgb(91, 170, 31)
HSLhsl(94, 69%, 39%)
HSVhsv(94, 82%, 67%)
CMYKcmyk(46.5%, 0%, 81.8%, 33.3%)
CIE-LABlab(62.57, -46.63, 58.12)
CIE-LCHlch(62.57, 74.52, 128.74°)
OKLaboklab(66.18% -0.1304 0.1281)
OKLCHoklch(66.18% 0.183 135.5)
XYZxyz(18.9360, 31.0713, 6.2956)
Luminance0.3107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAA1F #6E1FAA
analogous
#A1AA1F #5BAA1F #1FAA29
triadic
#5BAA1F #1F5BAA #AA1F5B
tetradic
#5BAA1F #1FA1AA #6E1FAA #AA291F
square
#5BAA1F #1FA1AA #6E1FAA #AA291F
split-complementary
#5BAA1F #291FAA #AA1FA1
monochromatic
#24420C #3F7616 #5BAA1F #77D92D #99E261

Accessibility & contrast

On white

2.91
#5BAA1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#5BAA1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAA1F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAA1F#FFFFFF#000000##000000
##5BAA1F1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#58A391
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5baa1f;
/* rgb */ color: rgb(91, 170, 31);
/* oklch */ color: oklch(66.2% 0.183 135.5);
Tailwind
colors: {
  custom: {
    50: '#91c468',
    500: '#5baa1f',
    950: '#000000',
  },
}
SCSS
$custom: #5baa1f;
$custom-light: #91c468;
$custom-dark: #000000;
JSON
{
  "hex": "#5baa1f",
  "rgb": {
    "r": 91,
    "g": 170,
    "b": 31
  },
  "hsl": {
    "h": 94.101,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66181,
    "c": 0.18279,
    "h": 135.5
  },
  "luminance": 0.31073
}

Semantic roles & 50–950 ramp

primary
#5BAA1F
secondary
#9A5EC7
accent
#3CECA0
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAA1F

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

Preview Lab → · Contrast checker → · Palette generator →

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