#54B221#54B221

#54B221 is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.0% C 0.195 H 137.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#54B221
RGBrgb(84, 178, 33)
HSLhsl(99, 69%, 41%)
HSVhsv(99, 81%, 70%)
CMYKcmyk(52.8%, 0%, 81.5%, 30.2%)
CIE-LABlab(64.83, -51.76, 59.54)
CIE-LCHlch(64.83, 78.89, 131.00°)
OKLaboklab(67.97% -0.1436 0.1315)
OKLCHoklch(67.97% 0.195 137.5)
XYZxyz(19.8504, 33.8339, 6.9231)
Luminance0.3383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B221 #7F21B2
analogous
#9DB221 #54B221 #21B237
triadic
#54B221 #2154B2 #B22154
tetradic
#54B221 #219DB2 #7F21B2 #B23721
square
#54B221 #219DB2 #7F21B2 #B23721
split-complementary
#54B221 #3721B2 #B2219D
monochromatic
#234B0E #3C7E17 #54B221 #70DA36 #95E36A

Accessibility & contrast

On white

2.70
#54B221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#54B221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54B221
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54B221#FFFFFF#000000##000000
##54B2211.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#4DAB98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #54b221;
/* rgb */ color: rgb(84, 178, 33);
/* oklch */ color: oklch(68.0% 0.195 137.5);
Tailwind
colors: {
  custom: {
    50: '#8eca6a',
    500: '#54b221',
    950: '#000000',
  },
}
SCSS
$custom: #54b221;
$custom-light: #8eca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#54b221",
  "rgb": {
    "r": 84,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 98.897,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67969,
    "c": 0.19468,
    "h": 137.5
  },
  "luminance": 0.33835
}

Semantic roles & 50–950 ramp

primary
#54B221
secondary
#A666C9
accent
#3CECAE
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B221

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

Preview Lab → · Contrast checker → · Palette generator →

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