#5FBA28#5FBA28

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

Color values

HEX#5FBA28
RGBrgb(95, 186, 40)
HSLhsl(97, 65%, 44%)
HSVhsv(97, 78%, 73%)
CMYKcmyk(48.9%, 0%, 78.5%, 27.1%)
CIE-LABlab(67.80, -51.17, 60.40)
CIE-LCHlch(67.80, 79.16, 130.27°)
OKLaboklab(70.54% -0.1423 0.1341)
OKLCHoklch(70.54% 0.196 136.7)
XYZxyz(22.6606, 37.7023, 8.0903)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FBA28 #8328BA
analogous
#A8BA28 #5FBA28 #28BA3A
triadic
#5FBA28 #285FBA #BA285F
tetradic
#5FBA28 #28A8BA #8328BA #BA3A28
square
#5FBA28 #28A8BA #8328BA #BA3A28
split-complementary
#5FBA28 #3A28BA #BA28A8
monochromatic
#2C5512 #45881D #5FBA28 #7ED848 #A1E27A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FBA28#FFFFFF#000000##000000
##5FBA281.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)
#B5A239
Tritanopia (blue-blind)
#5AB39F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #5fba28;
/* rgb */ color: rgb(95, 186, 40);
/* oklch */ color: oklch(70.5% 0.196 136.7);
Tailwind
colors: {
  custom: {
    50: '#95cf6e',
    500: '#5fba28',
    950: '#000000',
  },
}
SCSS
$custom: #5fba28;
$custom-light: #95cf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fba28",
  "rgb": {
    "r": 95,
    "g": 186,
    "b": 40
  },
  "hsl": {
    "h": 97.397,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70542,
    "c": 0.19558,
    "h": 136.7
  },
  "luminance": 0.37704
}

Semantic roles & 50–950 ramp

primary
#5FBA28
secondary
#AA73CA
accent
#40E8A9
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B

Preview Lab

Preview with #5FBA28

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

Preview Lab → · Contrast checker → · Palette generator →

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