#5FA621#5FA621

#5FA621 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.4% C 0.175 H 134.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5FA621
RGBrgb(95, 166, 33)
HSLhsl(92, 67%, 39%)
HSVhsv(92, 80%, 65%)
CMYKcmyk(42.8%, 0%, 80.1%, 34.9%)
CIE-LABlab(61.49, -43.58, 56.62)
CIE-LCHlch(61.49, 71.45, 127.59°)
OKLaboklab(65.35% -0.1223 0.1252)
OKLCHoklch(65.35% 0.175 134.3)
XYZxyz(18.6297, 29.8141, 6.2116)
Luminance0.2982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA621 #6821A6
analogous
#A2A621 #5FA621 #21A626
triadic
#5FA621 #215FA6 #A6215F
tetradic
#5FA621 #21A2A6 #6821A6 #A62621
square
#5FA621 #21A2A6 #6821A6 #A62621
split-complementary
#5FA621 #2621A6 #A621A2
monochromatic
#25400D #427317 #5FA621 #7CD62F #9CE062

Accessibility & contrast

On white

3.02
#5FA621 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#5FA621 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA621
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA621#FFFFFF#000000##000000
##5FA6211.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A39230
Tritanopia (blue-blind)
#5E9F8E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa621;
/* rgb */ color: rgb(95, 166, 33);
/* oklch */ color: oklch(65.4% 0.175 134.3);
Tailwind
colors: {
  custom: {
    50: '#93c168',
    500: '#5fa621',
    950: '#000000',
  },
}
SCSS
$custom: #5fa621;
$custom-light: #93c168;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa621",
  "rgb": {
    "r": 95,
    "g": 166,
    "b": 33
  },
  "hsl": {
    "h": 92.03,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65351,
    "c": 0.17503,
    "h": 134.3
  },
  "luminance": 0.29815
}

Semantic roles & 50–950 ramp

primary
#5FA621
secondary
#955EC5
accent
#3EEA9A
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA621

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

Preview Lab → · Contrast checker → · Palette generator →

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