#5FBA27#5FBA27

#5FBA27 is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 70.5% C 0.196 H 136.6°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5FBA27
RGBrgb(95, 186, 39)
HSLhsl(97, 65%, 44%)
HSVhsv(97, 79%, 73%)
CMYKcmyk(48.9%, 0%, 79%, 27.1%)
CIE-LABlab(67.80, -51.23, 60.70)
CIE-LCHlch(67.80, 79.43, 130.16°)
OKLaboklab(70.54% -0.1425 0.1346)
OKLCHoklch(70.54% 0.196 136.6)
XYZxyz(22.6438, 37.6956, 8.0019)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FBA27 #8227BA
analogous
#A9BA27 #5FBA27 #27BA39
triadic
#5FBA27 #275FBA #BA275F
tetradic
#5FBA27 #27A9BA #8227BA #BA3927
square
#5FBA27 #27A9BA #8227BA #BA3927
split-complementary
#5FBA27 #3927BA #BA27A9
monochromatic
#2B5512 #45871C #5FBA27 #7ED846 #A1E379

Accessibility & contrast

On white

2.46
#5FBA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#5FBA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FBA27
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FBA27#FFFFFF#000000##000000
##5FBA271.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#B5A238
Tritanopia (blue-blind)
#5AB39F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #5fba27;
/* rgb */ color: rgb(95, 186, 39);
/* oklch */ color: oklch(70.5% 0.196 136.6);
Tailwind
colors: {
  custom: {
    50: '#95cf6e',
    500: '#5fba27',
    950: '#000000',
  },
}
SCSS
$custom: #5fba27;
$custom-light: #95cf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fba27",
  "rgb": {
    "r": 95,
    "g": 186,
    "b": 39
  },
  "hsl": {
    "h": 97.143,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70537,
    "c": 0.19606,
    "h": 136.6
  },
  "luminance": 0.37697
}

Semantic roles & 50–950 ramp

primary
#5FBA27
secondary
#A972CB
accent
#40E8A8
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B

Preview Lab

Preview with #5FBA27

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

Preview Lab → · Contrast checker → · Palette generator →

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