#54A222#54A222

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

Color values

HEX#54A222
RGBrgb(84, 162, 34)
HSLhsl(97, 65%, 38%)
HSVhsv(97, 79%, 64%)
CMYKcmyk(48.1%, 0%, 79%, 36.5%)
CIE-LABlab(59.74, -45.52, 54.49)
CIE-LCHlch(59.74, 71.00, 129.87°)
OKLaboklab(63.78% -0.1268 0.1211)
OKLCHoklch(63.78% 0.175 136.3)
XYZxyz(16.8648, 27.8399, 5.9980)
Luminance0.2784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A222 #7022A2
analogous
#94A222 #54A222 #22A230
triadic
#54A222 #2254A2 #A22254
tetradic
#54A222 #2294A2 #7022A2 #A23022
square
#54A222 #2294A2 #7022A2 #A23022
split-complementary
#54A222 #3022A2 #A22294
monochromatic
#203D0D #3A6F17 #54A222 #6FD32E #92DE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54A222#FFFFFF#000000##000000
##54A2221.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: #54a222;
/* rgb */ color: rgb(84, 162, 34);
/* oklch */ color: oklch(63.8% 0.175 136.3);
Tailwind
colors: {
  custom: {
    50: '#8cbe68',
    500: '#54a222',
    950: '#000000',
  },
}
SCSS
$custom: #54a222;
$custom-light: #8cbe68;
$custom-dark: #000000;
JSON
{
  "hex": "#54a222",
  "rgb": {
    "r": 84,
    "g": 162,
    "b": 34
  },
  "hsl": {
    "h": 96.563,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63783,
    "c": 0.17529,
    "h": 136.3
  },
  "luminance": 0.27841
}

Semantic roles & 50–950 ramp

primary
#54A222
secondary
#9B5DC3
accent
#40E8A6
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A222

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

Preview Lab → · Contrast checker → · Palette generator →

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