#54A522#54A522

#54A522 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.6% C 0.179 H 136.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#54A522
RGBrgb(84, 165, 34)
HSLhsl(97, 66%, 39%)
HSVhsv(97, 79%, 65%)
CMYKcmyk(49.1%, 0%, 79.4%, 35.3%)
CIE-LABlab(60.70, -46.71, 55.40)
CIE-LCHlch(60.70, 72.46, 130.13°)
OKLaboklab(64.57% -0.13 0.123)
OKLCHoklch(64.57% 0.179 136.6)
XYZxyz(17.3995, 28.9094, 6.1763)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A522 #7322A5
analogous
#96A522 #54A522 #22A532
triadic
#54A522 #2254A5 #A52254
tetradic
#54A522 #2296A5 #7322A5 #A53222
square
#54A522 #2296A5 #7322A5 #A53222
split-complementary
#54A522 #3222A5 #A52296
monochromatic
#20400D #3A7218 #54A522 #6FD430 #92DF63

Accessibility & contrast

On white

3.10
#54A522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#54A522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A522
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A522#FFFFFF#000000##000000
##54A5221.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#509F8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #54a522;
/* rgb */ color: rgb(84, 165, 34);
/* oklch */ color: oklch(64.6% 0.179 136.6);
Tailwind
colors: {
  custom: {
    50: '#8cc068',
    500: '#54a522',
    950: '#000000',
  },
}
SCSS
$custom: #54a522;
$custom-light: #8cc068;
$custom-dark: #000000;
JSON
{
  "hex": "#54a522",
  "rgb": {
    "r": 84,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 97.099,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64571,
    "c": 0.17892,
    "h": 136.6
  },
  "luminance": 0.28911
}

Semantic roles & 50–950 ramp

primary
#54A522
secondary
#9D5FC4
accent
#3FE9A8
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A522

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

Preview Lab → · Contrast checker → · Palette generator →

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