#54A528#54A528

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

Color values

HEX#54A528
RGBrgb(84, 165, 40)
HSLhsl(99, 61%, 40%)
HSVhsv(99, 76%, 65%)
CMYKcmyk(49.1%, 0%, 75.8%, 35.3%)
CIE-LABlab(60.73, -46.34, 53.45)
CIE-LCHlch(60.73, 70.74, 130.92°)
OKLaboklab(64.61% -0.1286 0.1198)
OKLCHoklch(64.61% 0.176 137)
XYZxyz(17.4938, 28.9471, 6.6726)
Luminance0.2895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A528 #7928A5
analogous
#92A528 #54A528 #28A53A
triadic
#54A528 #2854A5 #A52854
tetradic
#54A528 #2892A5 #7928A5 #A53A28
square
#54A528 #2892A5 #7928A5 #A53A28
split-complementary
#54A528 #3A28A5 #A52892
monochromatic
#224210 #3B741C #54A528 #6FCF3B #93DB6C

Accessibility & contrast

On white

3.09
#54A528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#54A528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A528
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A528#FFFFFF#000000##000000
##54A5281.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970D
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#4F9F8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #54a528;
/* rgb */ color: rgb(84, 165, 40);
/* oklch */ color: oklch(64.6% 0.176 137.0);
Tailwind
colors: {
  custom: {
    50: '#8cc06b',
    500: '#54a528',
    950: '#000000',
  },
}
SCSS
$custom: #54a528;
$custom-light: #8cc06b;
$custom-dark: #000000;
JSON
{
  "hex": "#54a528",
  "rgb": {
    "r": 84,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 98.88,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64609,
    "c": 0.17574,
    "h": 137
  },
  "luminance": 0.28948
}

Semantic roles & 50–950 ramp

primary
#54A528
secondary
#A267C2
accent
#44E4AC
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A528

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

Preview Lab → · Contrast checker → · Palette generator →

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