#54AA21#54AA21

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

Color values

HEX#54AA21
RGBrgb(84, 170, 33)
HSLhsl(98, 67%, 40%)
HSVhsv(98, 81%, 67%)
CMYKcmyk(50.6%, 0%, 80.6%, 33.3%)
CIE-LABlab(62.29, -48.71, 57.19)
CIE-LCHlch(62.29, 75.12, 130.42°)
OKLaboklab(65.88% -0.1354 0.1266)
OKLCHoklch(65.88% 0.185 136.9)
XYZxyz(18.3048, 30.7428, 6.4079)
Luminance0.3074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54AA21 #7721AA
analogous
#99AA21 #54AA21 #21AA32
triadic
#54AA21 #2154AA #AA2154
tetradic
#54AA21 #2199AA #7721AA #AA3221
square
#54AA21 #2199AA #7721AA #AA3221
split-complementary
#54AA21 #3221AA #AA2199
monochromatic
#21430D #3B7717 #54AA21 #6FD731 #93E164

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54AA21#FFFFFF#000000##000000
##54AA211.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)
#A59431
Tritanopia (blue-blind)
#4FA491
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #54aa21;
/* rgb */ color: rgb(84, 170, 33);
/* oklch */ color: oklch(65.9% 0.185 136.9);
Tailwind
colors: {
  custom: {
    50: '#8dc469',
    500: '#54aa21',
    950: '#000000',
  },
}
SCSS
$custom: #54aa21;
$custom-light: #8dc469;
$custom-dark: #000000;
JSON
{
  "hex": "#54aa21",
  "rgb": {
    "r": 84,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 97.664,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65876,
    "c": 0.18535,
    "h": 136.9
  },
  "luminance": 0.30744
}

Semantic roles & 50–950 ramp

primary
#54AA21
secondary
#A061C6
accent
#3DEAAA
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54AA21

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

Preview Lab → · Contrast checker → · Palette generator →

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