#54AA22#54AA22

#54AA22 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 65.9% C 0.185 H 137.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#54AA22
RGBrgb(84, 170, 34)
HSLhsl(98, 67%, 40%)
HSVhsv(98, 80%, 67%)
CMYKcmyk(50.6%, 0%, 80%, 33.3%)
CIE-LABlab(62.29, -48.66, 56.89)
CIE-LCHlch(62.29, 74.86, 130.54°)
OKLaboklab(65.88% -0.1352 0.1261)
OKLCHoklch(65.88% 0.185 137)
XYZxyz(18.3191, 30.7484, 6.4828)
Luminance0.3075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54AA22 #7822AA
analogous
#98AA22 #54AA22 #22AA34
triadic
#54AA22 #2254AA #AA2254
tetradic
#54AA22 #2298AA #7822AA #AA3422
square
#54AA22 #2298AA #7822AA #AA3422
split-complementary
#54AA22 #3422AA #AA2298
monochromatic
#22440E #3B7718 #54AA22 #6FD633 #93E066

Accessibility & contrast

On white

2.94
#54AA22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#54AA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54AA22
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54AA22#FFFFFF#000000##000000
##54AA221.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A59432
Tritanopia (blue-blind)
#4FA491
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #54aa22;
/* rgb */ color: rgb(84, 170, 34);
/* oklch */ color: oklch(65.9% 0.185 137.0);
Tailwind
colors: {
  custom: {
    50: '#8dc469',
    500: '#54aa22',
    950: '#000000',
  },
}
SCSS
$custom: #54aa22;
$custom-light: #8dc469;
$custom-dark: #000000;
JSON
{
  "hex": "#54aa22",
  "rgb": {
    "r": 84,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 97.941,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.65882,
    "c": 0.18488,
    "h": 137
  },
  "luminance": 0.3075
}

Semantic roles & 50–950 ramp

primary
#54AA22
secondary
#A162C6
accent
#3EEAAB
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54AA22

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

Preview Lab → · Contrast checker → · Palette generator →

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