#54AC22#54AC22

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

Color values

HEX#54AC22
RGBrgb(84, 172, 34)
HSLhsl(98, 67%, 40%)
HSVhsv(98, 80%, 67%)
CMYKcmyk(51.2%, 0%, 80.2%, 32.5%)
CIE-LABlab(62.93, -49.43, 57.49)
CIE-LCHlch(62.93, 75.82, 130.69°)
OKLaboklab(66.41% -0.1373 0.1273)
OKLCHoklch(66.41% 0.187 137.2)
XYZxyz(18.6968, 31.5040, 6.6087)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54AC22 #7A22AC
analogous
#99AC22 #54AC22 #22AC35
triadic
#54AC22 #2254AC #AC2254
tetradic
#54AC22 #2299AC #7A22AC #AC3522
square
#54AC22 #2299AC #7A22AC #AC3522
split-complementary
#54AC22 #3522AC #AC2299
monochromatic
#22460E #3B7918 #54AC22 #6FD734 #93E167

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54AC22#FFFFFF#000000##000000
##54AC221.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: #54ac22;
/* rgb */ color: rgb(84, 172, 34);
/* oklch */ color: oklch(66.4% 0.187 137.2);
Tailwind
colors: {
  custom: {
    50: '#8dc569',
    500: '#54ac22',
    950: '#000000',
  },
}
SCSS
$custom: #54ac22;
$custom-light: #8dc569;
$custom-dark: #000000;
JSON
{
  "hex": "#54ac22",
  "rgb": {
    "r": 84,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 98.261,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66405,
    "c": 0.18725,
    "h": 137.2
  },
  "luminance": 0.31505
}

Semantic roles & 50–950 ramp

primary
#54AC22
secondary
#A363C7
accent
#3EEAAC
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54AC22

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

Preview Lab → · Contrast checker → · Palette generator →

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