#5BAF27#5BAF27

#5BAF27 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.5% C 0.185 H 136.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5BAF27
RGBrgb(91, 175, 39)
HSLhsl(97, 64%, 42%)
HSVhsv(97, 78%, 69%)
CMYKcmyk(48%, 0%, 77.7%, 31.4%)
CIE-LABlab(64.18, -48.18, 57.22)
CIE-LCHlch(64.18, 74.80, 130.09°)
OKLaboklab(67.52% -0.1341 0.1274)
OKLCHoklch(67.52% 0.185 136.5)
XYZxyz(20.0100, 33.0292, 7.2399)
Luminance0.3303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAF27 #7B27AF
analogous
#9FAF27 #5BAF27 #27AF37
triadic
#5BAF27 #275BAF #AF275B
tetradic
#5BAF27 #279FAF #7B27AF #AF3727
square
#5BAF27 #279FAF #7B27AF #AF3727
split-complementary
#5BAF27 #3727AF #AF279F
monochromatic
#274B11 #417D1C #5BAF27 #78D43F #9BDF71

Accessibility & contrast

On white

2.76
#5BAF27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#5BAF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAF27
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAF27#FFFFFF#000000##000000
##5BAF271.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A001
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#57A896
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5baf27;
/* rgb */ color: rgb(91, 175, 39);
/* oklch */ color: oklch(67.5% 0.185 136.5);
Tailwind
colors: {
  custom: {
    50: '#91c76c',
    500: '#5baf27',
    950: '#000000',
  },
}
SCSS
$custom: #5baf27;
$custom-light: #91c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#5baf27",
  "rgb": {
    "r": 91,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 97.059,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67522,
    "c": 0.18496,
    "h": 136.5
  },
  "luminance": 0.33031
}

Semantic roles & 50–950 ramp

primary
#5BAF27
secondary
#A46BC6
accent
#41E7A7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAF27

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

Preview Lab → · Contrast checker → · Palette generator →

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