#54B421#54B421

#54B421 is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 68.5% C 0.197 H 137.6°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#54B421
RGBrgb(84, 180, 33)
HSLhsl(99, 69%, 42%)
HSVhsv(99, 82%, 71%)
CMYKcmyk(53.3%, 0%, 81.7%, 29.4%)
CIE-LABlab(65.46, -52.50, 60.12)
CIE-LCHlch(65.46, 79.82, 131.13°)
OKLaboklab(68.49% -0.1456 0.1327)
OKLCHoklch(68.49% 0.197 137.6)
XYZxyz(20.2512, 34.6356, 7.0567)
Luminance0.3464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B421 #8121B4
analogous
#9EB421 #54B421 #21B438
triadic
#54B421 #2154B4 #B42154
tetradic
#54B421 #219EB4 #8121B4 #B43821
square
#54B421 #219EB4 #8121B4 #B43821
split-complementary
#54B421 #3821B4 #B4219E
monochromatic
#244D0E #3C8018 #54B421 #70DA38 #95E46B

Accessibility & contrast

On white

2.65
#54B421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#54B421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54B421
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54B421#FFFFFF#000000##000000
##54B4211.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AE9C33
Tritanopia (blue-blind)
#4DAD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #54b421;
/* rgb */ color: rgb(84, 180, 33);
/* oklch */ color: oklch(68.5% 0.197 137.6);
Tailwind
colors: {
  custom: {
    50: '#8ecb6a',
    500: '#54b421',
    950: '#000000',
  },
}
SCSS
$custom: #54b421;
$custom-light: #8ecb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#54b421",
  "rgb": {
    "r": 84,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 99.184,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68492,
    "c": 0.19699,
    "h": 137.6
  },
  "luminance": 0.34637
}

Semantic roles & 50–950 ramp

primary
#54B421
secondary
#A867CA
accent
#3CECAF
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B421

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

Preview Lab → · Contrast checker → · Palette generator →

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