#54A822#54A822

#54A822 is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.4% C 0.183 H 136.8°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#54A822
RGBrgb(84, 168, 34)
HSLhsl(98, 66%, 40%)
HSVhsv(98, 80%, 66%)
CMYKcmyk(50%, 0%, 79.8%, 34.1%)
CIE-LABlab(61.66, -47.88, 56.30)
CIE-LCHlch(61.66, 73.91, 130.38°)
OKLaboklab(65.36% -0.1331 0.1248)
OKLCHoklch(65.36% 0.183 136.8)
XYZxyz(17.9470, 30.0043, 6.3588)
Luminance0.3001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A822 #7622A8
analogous
#97A822 #54A822 #22A833
triadic
#54A822 #2254A8 #A82254
tetradic
#54A822 #2297A8 #7622A8 #A83322
square
#54A822 #2297A8 #7622A8 #A83322
split-complementary
#54A822 #3322A8 #A82297
monochromatic
#21420D #3B7518 #54A822 #6FD532 #93E065

Accessibility & contrast

On white

3.00
#54A822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#54A822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54A822
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A822#FFFFFF#000000##000000
##54A8221.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A39231
Tritanopia (blue-blind)
#4FA28F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #54a822;
/* rgb */ color: rgb(84, 168, 34);
/* oklch */ color: oklch(65.4% 0.183 136.8);
Tailwind
colors: {
  custom: {
    50: '#8cc269',
    500: '#54a822',
    950: '#000000',
  },
}
SCSS
$custom: #54a822;
$custom-light: #8cc269;
$custom-dark: #000000;
JSON
{
  "hex": "#54a822",
  "rgb": {
    "r": 84,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 97.612,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65358,
    "c": 0.18251,
    "h": 136.8
  },
  "luminance": 0.30006
}

Semantic roles & 50–950 ramp

primary
#54A822
secondary
#A061C5
accent
#3FE9AA
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A822

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

Preview Lab → · Contrast checker → · Palette generator →

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