#5FA821#5FA821

#5FA821 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 65.9% C 0.177 H 134.6°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5FA821
RGBrgb(95, 168, 33)
HSLhsl(92, 67%, 39%)
HSVhsv(92, 80%, 66%)
CMYKcmyk(43.5%, 0%, 80.4%, 34.1%)
CIE-LABlab(62.12, -44.40, 57.20)
CIE-LCHlch(62.12, 72.41, 127.82°)
OKLaboklab(65.87% -0.1246 0.1264)
OKLCHoklch(65.87% 0.177 134.6)
XYZxyz(18.9961, 30.5469, 6.3338)
Luminance0.3055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA821 #6A21A8
analogous
#A3A821 #5FA821 #21A826
triadic
#5FA821 #215FA8 #A8215F
tetradic
#5FA821 #21A3A8 #6A21A8 #A82621
square
#5FA821 #21A3A8 #6A21A8 #A82621
split-complementary
#5FA821 #2621A8 #A821A3
monochromatic
#25420D #427517 #5FA821 #7CD630 #9DE063

Accessibility & contrast

On white

2.95
#5FA821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#5FA821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA821
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA821#FFFFFF#000000##000000
##5FA8211.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A59431
Tritanopia (blue-blind)
#5EA18F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5fa821;
/* rgb */ color: rgb(95, 168, 33);
/* oklch */ color: oklch(65.9% 0.177 134.6);
Tailwind
colors: {
  custom: {
    50: '#93c268',
    500: '#5fa821',
    950: '#000000',
  },
}
SCSS
$custom: #5fa821;
$custom-light: #93c268;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa821",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 92.444,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65867,
    "c": 0.17746,
    "h": 134.6
  },
  "luminance": 0.30548
}

Semantic roles & 50–950 ramp

primary
#5FA821
secondary
#975FC5
accent
#3EEA9B
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA821

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

Preview Lab → · Contrast checker → · Palette generator →

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