#5FB021#5FB021

#5FB021 is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 67.9% C 0.187 H 135.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5FB021
RGBrgb(95, 176, 33)
HSLhsl(94, 68%, 41%)
HSVhsv(94, 81%, 69%)
CMYKcmyk(46%, 0%, 81.3%, 31%)
CIE-LABlab(64.64, -47.63, 59.52)
CIE-LCHlch(64.64, 76.23, 128.67°)
OKLaboklab(67.93% -0.1332 0.1313)
OKLCHoklch(67.93% 0.187 135.4)
XYZxyz(20.5187, 33.5921, 6.8413)
Luminance0.3359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB021 #7221B0
analogous
#A6B021 #5FB021 #21B02A
triadic
#5FB021 #215FB0 #B0215F
tetradic
#5FB021 #21A6B0 #7221B0 #B02A21
square
#5FB021 #21A6B0 #7221B0 #B02A21
split-complementary
#5FB021 #2A21B0 #B021A6
monochromatic
#27490E #437C17 #5FB021 #7CD935 #9EE369

Accessibility & contrast

On white

2.72
#5FB021 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#5FB021 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB021
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB021#FFFFFF#000000##000000
##5FB0211.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#AC9A32
Tritanopia (blue-blind)
#5CA996
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5fb021;
/* rgb */ color: rgb(95, 176, 33);
/* oklch */ color: oklch(67.9% 0.187 135.4);
Tailwind
colors: {
  custom: {
    50: '#94c86a',
    500: '#5fb021',
    950: '#000000',
  },
}
SCSS
$custom: #5fb021;
$custom-light: #94c86a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb021",
  "rgb": {
    "r": 95,
    "g": 176,
    "b": 33
  },
  "hsl": {
    "h": 93.986,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67931,
    "c": 0.18703,
    "h": 135.4
  },
  "luminance": 0.33593
}

Semantic roles & 50–950 ramp

primary
#5FB021
secondary
#9D64C8
accent
#3DEBA0
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FB021

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

Preview Lab → · Contrast checker → · Palette generator →

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