#5FBC28#5FBC28

#5FBC28 is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.1% C 0.198 H 136.8°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#5FBC28
RGBrgb(95, 188, 40)
HSLhsl(98, 65%, 45%)
HSVhsv(98, 79%, 74%)
CMYKcmyk(49.5%, 0%, 78.7%, 26.3%)
CIE-LABlab(68.42, -51.94, 60.99)
CIE-LCHlch(68.42, 80.11, 130.42°)
OKLaboklab(71.06% -0.1444 0.1354)
OKLCHoklch(71.06% 0.198 136.8)
XYZxyz(23.0848, 38.5509, 8.2317)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FBC28 #8528BC
analogous
#A9BC28 #5FBC28 #28BC3B
triadic
#5FBC28 #285FBC #BC285F
tetradic
#5FBC28 #28A9BC #8528BC #BC3B28
square
#5FBC28 #28A9BC #8528BC #BC3B28
split-complementary
#5FBC28 #3B28BC #BC28A9
monochromatic
#2C5713 #458A1D #5FBC28 #7ED849 #A2E37B

Accessibility & contrast

On white

2.41
#5FBC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#5FBC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FBC28
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FBC28#FFFFFF#000000##000000
##5FBC281.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC00
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#5AB5A1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #5fbc28;
/* rgb */ color: rgb(95, 188, 40);
/* oklch */ color: oklch(71.1% 0.198 136.8);
Tailwind
colors: {
  custom: {
    50: '#95d16e',
    500: '#5fbc28',
    950: '#000000',
  },
}
SCSS
$custom: #5fbc28;
$custom-light: #95d16e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fbc28",
  "rgb": {
    "r": 95,
    "g": 188,
    "b": 40
  },
  "hsl": {
    "h": 97.703,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71056,
    "c": 0.19793,
    "h": 136.8
  },
  "luminance": 0.38553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5FBC28

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

Preview Lab → · Contrast checker → · Palette generator →

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