#54A321#54A321

#54A321 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.0% C 0.177 H 136.3°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#54A321
RGBrgb(84, 163, 33)
HSLhsl(96, 66%, 38%)
HSVhsv(96, 80%, 64%)
CMYKcmyk(48.5%, 0%, 79.8%, 36.1%)
CIE-LABlab(60.06, -45.97, 55.10)
CIE-LCHlch(60.06, 71.76, 129.84°)
OKLaboklab(64.04% -0.128 0.1222)
OKLCHoklch(64.04% 0.177 136.3)
XYZxyz(17.0274, 28.1879, 5.9821)
Luminance0.2819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A321 #7021A3
analogous
#95A321 #54A321 #21A32F
triadic
#54A321 #2154A3 #A32154
tetradic
#54A321 #2195A3 #7021A3 #A32F21
square
#54A321 #2195A3 #7021A3 #A32F21
split-complementary
#54A321 #2F21A3 #A32195
monochromatic
#203D0C #3A7017 #54A321 #6FD42D #92DF60

Accessibility & contrast

On white

3.16
#54A321 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#54A321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A321
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A321#FFFFFF#000000##000000
##54A3211.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9F8E30
Tritanopia (blue-blind)
#509D8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #54a321;
/* rgb */ color: rgb(84, 163, 33);
/* oklch */ color: oklch(64.0% 0.177 136.3);
Tailwind
colors: {
  custom: {
    50: '#8cbf68',
    500: '#54a321',
    950: '#000000',
  },
}
SCSS
$custom: #54a321;
$custom-light: #8cbf68;
$custom-dark: #000000;
JSON
{
  "hex": "#54a321",
  "rgb": {
    "r": 84,
    "g": 163,
    "b": 33
  },
  "hsl": {
    "h": 96.462,
    "s": 66.327,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6404,
    "c": 0.17699,
    "h": 136.3
  },
  "luminance": 0.28189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #54A321

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

Preview Lab → · Contrast checker → · Palette generator →

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