#54A221#54A221

#54A221 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.8% C 0.176 H 136.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#54A221
RGBrgb(84, 162, 33)
HSLhsl(96, 66%, 38%)
HSVhsv(96, 80%, 64%)
CMYKcmyk(48.1%, 0%, 79.6%, 36.5%)
CIE-LABlab(59.74, -45.58, 54.80)
CIE-LCHlch(59.74, 71.28, 129.75°)
OKLaboklab(63.78% -0.127 0.1216)
OKLCHoklch(63.78% 0.176 136.3)
XYZxyz(16.8505, 27.8342, 5.9232)
Luminance0.2783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A221 #6F21A2
analogous
#94A221 #54A221 #21A22E
triadic
#54A221 #2154A2 #A22154
tetradic
#54A221 #2194A2 #6F21A2 #A22E21
square
#54A221 #2194A2 #6F21A2 #A22E21
split-complementary
#54A221 #2E21A2 #A22194
monochromatic
#1F3C0C #3A6F17 #54A221 #6FD42C #91DE5F

Accessibility & contrast

On white

3.20
#54A221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#54A221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A221
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A221#FFFFFF#000000##000000
##54A2211.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#509C8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #54a221;
/* rgb */ color: rgb(84, 162, 33);
/* oklch */ color: oklch(63.8% 0.176 136.3);
Tailwind
colors: {
  custom: {
    50: '#8cbe67',
    500: '#54a221',
    950: '#000000',
  },
}
SCSS
$custom: #54a221;
$custom-light: #8cbe67;
$custom-dark: #000000;
JSON
{
  "hex": "#54a221",
  "rgb": {
    "r": 84,
    "g": 162,
    "b": 33
  },
  "hsl": {
    "h": 96.279,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63777,
    "c": 0.17579,
    "h": 136.3
  },
  "luminance": 0.27835
}

Semantic roles & 50–950 ramp

primary
#54A221
secondary
#9A5CC3
accent
#3FE9A6
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A221

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

Preview Lab → · Contrast checker → · Palette generator →

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