#54A421#54A421

#54A421 is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.3% C 0.178 H 136.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#54A421
RGBrgb(84, 164, 33)
HSLhsl(97, 66%, 39%)
HSVhsv(97, 80%, 64%)
CMYKcmyk(48.8%, 0%, 79.9%, 35.7%)
CIE-LABlab(60.38, -46.37, 55.40)
CIE-LCHlch(60.38, 72.25, 129.93°)
OKLaboklab(64.3% -0.1291 0.1228)
OKLCHoklch(64.3% 0.178 136.4)
XYZxyz(17.2056, 28.5444, 6.0415)
Luminance0.2855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A421 #7121A4
analogous
#95A421 #54A421 #21A42F
triadic
#54A421 #2154A4 #A42154
tetradic
#54A421 #2195A4 #7121A4 #A42F21
square
#54A421 #2195A4 #7121A4 #A42F21
split-complementary
#54A421 #2F21A4 #A42195
monochromatic
#203E0C #3A7117 #54A421 #6FD52D #92DF60

Accessibility & contrast

On white

3.13
#54A421 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#54A421 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A421
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A421#FFFFFF#000000##000000
##54A4211.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#9F8F30
Tritanopia (blue-blind)
#509E8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #54a421;
/* rgb */ color: rgb(84, 164, 33);
/* oklch */ color: oklch(64.3% 0.178 136.4);
Tailwind
colors: {
  custom: {
    50: '#8cc068',
    500: '#54a421',
    950: '#000000',
  },
}
SCSS
$custom: #54a421;
$custom-light: #8cc068;
$custom-dark: #000000;
JSON
{
  "hex": "#54a421",
  "rgb": {
    "r": 84,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 96.641,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64302,
    "c": 0.1782,
    "h": 136.4
  },
  "luminance": 0.28546
}

Semantic roles & 50–950 ramp

primary
#54A421
secondary
#9C5DC4
accent
#3EE9A7
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A421

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

Preview Lab → · Contrast checker → · Palette generator →

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