#5FBB21#5FBB21

#5FBB21 is a light, vivid yellow-green. Relative luminance 0.381; OKLCH L 70.8% C 0.200 H 136.4°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#5FBB21
RGBrgb(95, 187, 33)
HSLhsl(96, 70%, 43%)
HSVhsv(96, 82%, 73%)
CMYKcmyk(49.2%, 0%, 82.4%, 26.7%)
CIE-LABlab(68.08, -51.91, 62.66)
CIE-LCHlch(68.08, 81.37, 129.64°)
OKLaboklab(70.76% -0.1447 0.1379)
OKLCHoklch(70.76% 0.2 136.4)
XYZxyz(22.7635, 38.0818, 7.5896)
Luminance0.3808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FBB21 #7D21BB
analogous
#ACBB21 #5FBB21 #21BB30
triadic
#5FBB21 #215FBB #BB215F
tetradic
#5FBB21 #21ACBB #7D21BB #BB3021
square
#5FBB21 #21ACBB #7D21BB #BB3021
split-complementary
#5FBB21 #3021BB #BB21AC
monochromatic
#2A530F #458718 #5FBB21 #7DDD3D #A0E671

Accessibility & contrast

On white

2.44
#5FBB21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#5FBB21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FBB21
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FBB21#FFFFFF#000000##000000
##5FBB211.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#5AB49F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #5fbb21;
/* rgb */ color: rgb(95, 187, 33);
/* oklch */ color: oklch(70.8% 0.200 136.4);
Tailwind
colors: {
  custom: {
    50: '#95d06b',
    500: '#5fbb21',
    950: '#000000',
  },
}
SCSS
$custom: #5fbb21;
$custom-light: #95d06b;
$custom-dark: #000000;
JSON
{
  "hex": "#5fbb21",
  "rgb": {
    "r": 95,
    "g": 187,
    "b": 33
  },
  "hsl": {
    "h": 95.844,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70763,
    "c": 0.19986,
    "h": 136.4
  },
  "luminance": 0.38083
}

Semantic roles & 50–950 ramp

primary
#5FBB21
secondary
#A56BCC
accent
#3BEDA5
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0E1407
muted
#7E827A

Preview Lab

Preview with #5FBB21

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

Preview Lab → · Contrast checker → · Palette generator →

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