#54AC21#54AC21

#54AC21 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.4% C 0.188 H 137.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#54AC21
RGBrgb(84, 172, 33)
HSLhsl(98, 68%, 40%)
HSVhsv(98, 81%, 67%)
CMYKcmyk(51.2%, 0%, 80.8%, 32.5%)
CIE-LABlab(62.93, -49.48, 57.78)
CIE-LCHlch(62.93, 76.07, 130.58°)
OKLaboklab(66.4% -0.1375 0.1278)
OKLCHoklch(66.4% 0.188 137.1)
XYZxyz(18.6826, 31.4983, 6.5339)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54AC21 #7921AC
analogous
#99AC21 #54AC21 #21AC34
triadic
#54AC21 #2154AC #AC2154
tetradic
#54AC21 #2199AC #7921AC #AC3421
square
#54AC21 #2199AC #7921AC #AC3421
split-complementary
#54AC21 #3421AC #AC2199
monochromatic
#22450D #3B7917 #54AC21 #6FD832 #93E266

Accessibility & contrast

On white

2.88
#54AC21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#54AC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54AC21
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54AC21#FFFFFF#000000##000000
##54AC211.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#4EA693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #54ac21;
/* rgb */ color: rgb(84, 172, 33);
/* oklch */ color: oklch(66.4% 0.188 137.1);
Tailwind
colors: {
  custom: {
    50: '#8dc569',
    500: '#54ac21',
    950: '#000000',
  },
}
SCSS
$custom: #54ac21;
$custom-light: #8dc569;
$custom-dark: #000000;
JSON
{
  "hex": "#54ac21",
  "rgb": {
    "r": 84,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 97.986,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.664,
    "c": 0.18771,
    "h": 137.1
  },
  "luminance": 0.315
}

Semantic roles & 50–950 ramp

primary
#54AC21
secondary
#A262C7
accent
#3DEBAB
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54AC21

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

Preview Lab → · Contrast checker → · Palette generator →

#54AC21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva