#54A628#54A628

#54A628 is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 64.9% C 0.177 H 137.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#54A628
RGBrgb(84, 166, 40)
HSLhsl(99, 61%, 40%)
HSVhsv(99, 76%, 65%)
CMYKcmyk(49.4%, 0%, 75.9%, 34.9%)
CIE-LABlab(61.05, -46.74, 53.76)
CIE-LCHlch(61.05, 71.24, 131.00°)
OKLaboklab(64.87% -0.1297 0.1204)
OKLCHoklch(64.87% 0.177 137.1)
XYZxyz(17.6748, 29.3092, 6.7330)
Luminance0.2931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A628 #7A28A6
analogous
#93A628 #54A628 #28A63B
triadic
#54A628 #2854A6 #A62854
tetradic
#54A628 #2893A6 #7A28A6 #A63B28
square
#54A628 #2893A6 #7A28A6 #A63B28
split-complementary
#54A628 #3B28A6 #A62893
monochromatic
#224310 #3B751C #54A628 #6FD03B #93DC6D

Accessibility & contrast

On white

3.06
#54A628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#54A628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A628
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A628#FFFFFF#000000##000000
##54A6281.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980C
Deuteranopia (green-blind)
#A19135
Tritanopia (blue-blind)
#4FA08E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #54a628;
/* rgb */ color: rgb(84, 166, 40);
/* oklch */ color: oklch(64.9% 0.177 137.1);
Tailwind
colors: {
  custom: {
    50: '#8cc16b',
    500: '#54a628',
    950: '#000000',
  },
}
SCSS
$custom: #54a628;
$custom-light: #8cc16b;
$custom-dark: #000000;
JSON
{
  "hex": "#54a628",
  "rgb": {
    "r": 84,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 99.048,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64871,
    "c": 0.17696,
    "h": 137.1
  },
  "luminance": 0.2931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #54A628

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

Preview Lab → · Contrast checker → · Palette generator →

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