#5FBD21#5FBD21

#5FBD21 is a light, highly saturated yellow-green. Relative luminance 0.389; OKLCH L 71.3% C 0.202 H 136.5°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#5FBD21
RGBrgb(95, 189, 33)
HSLhsl(96, 70%, 44%)
HSVhsv(96, 83%, 74%)
CMYKcmyk(49.7%, 0%, 82.5%, 25.9%)
CIE-LABlab(68.71, -52.67, 63.22)
CIE-LCHlch(68.71, 82.29, 129.80°)
OKLaboklab(71.28% -0.1467 0.1391)
OKLCHoklch(71.28% 0.202 136.5)
XYZxyz(23.1908, 38.9363, 7.7320)
Luminance0.3894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FBD21 #7F21BD
analogous
#ADBD21 #5FBD21 #21BD31
triadic
#5FBD21 #215FBD #BD215F
tetradic
#5FBD21 #21ADBD #7F21BD #BD3121
square
#5FBD21 #21ADBD #7F21BD #BD3121
split-complementary
#5FBD21 #3121BD #BD21AD
monochromatic
#2B550F #458918 #5FBD21 #7DDD3E #A0E672

Accessibility & contrast

On white

2.39
#5FBD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#5FBD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FBD21
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FBD21#FFFFFF#000000##000000
##5FBD211.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AC00
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#5AB6A1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #5fbd21;
/* rgb */ color: rgb(95, 189, 33);
/* oklch */ color: oklch(71.3% 0.202 136.5);
Tailwind
colors: {
  custom: {
    50: '#96d26c',
    500: '#5fbd21',
    950: '#000000',
  },
}
SCSS
$custom: #5fbd21;
$custom-light: #96d26c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fbd21",
  "rgb": {
    "r": 95,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 96.154,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71277,
    "c": 0.20215,
    "h": 136.5
  },
  "luminance": 0.38938
}

Semantic roles & 50–950 ramp

primary
#5FBD21
secondary
#A76DCD
accent
#3BEDA6
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0E1408
muted
#7E827A

Preview Lab

Preview with #5FBD21

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

Preview Lab → · Contrast checker → · Palette generator →

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