#5FB21A#5FB21A

#5FB21A is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 68.4% C 0.192 H 135.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5FB21A
RGBrgb(95, 178, 26)
HSLhsl(93, 75%, 40%)
HSVhsv(93, 85%, 70%)
CMYKcmyk(46.6%, 0%, 85.4%, 30.2%)
CIE-LABlab(65.24, -48.73, 61.86)
CIE-LCHlch(65.24, 78.75, 128.23°)
OKLaboklab(68.42% -0.1365 0.1352)
OKLCHoklch(68.42% 0.192 135.3)
XYZxyz(20.8257, 34.3469, 6.5093)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB21A #6D1AB2
analogous
#ABB21A #5FB21A #1AB221
triadic
#5FB21A #1A5FB2 #B21A5F
tetradic
#5FB21A #1AABB2 #6D1AB2 #B2211A
square
#5FB21A #1AABB2 #6D1AB2 #B2211A
split-complementary
#5FB21A #211AB2 #B21AAB
monochromatic
#26470A #437D12 #5FB21A #7CE029 #9DE85F

Accessibility & contrast

On white

2.67
#5FB21A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#5FB21A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB21A
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB21A#FFFFFF#000000##000000
##5FB21A1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AE9C2E
Tritanopia (blue-blind)
#5CAB97
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fb21a;
/* rgb */ color: rgb(95, 178, 26);
/* oklch */ color: oklch(68.4% 0.192 135.3);
Tailwind
colors: {
  custom: {
    50: '#94ca67',
    500: '#5fb21a',
    950: '#000000',
  },
}
SCSS
$custom: #5fb21a;
$custom-light: #94ca67;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb21a",
  "rgb": {
    "r": 95,
    "g": 178,
    "b": 26
  },
  "hsl": {
    "h": 92.763,
    "s": 74.51,
    "l": 40
  },
  "oklch": {
    "l": 0.68415,
    "c": 0.19214,
    "h": 135.3
  },
  "luminance": 0.34348
}

Semantic roles & 50–950 ramp

primary
#5FB21A
secondary
#995CCC
accent
#37F19C
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FB21A

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

Preview Lab → · Contrast checker → · Palette generator →

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