#54A828#54A828

#54A828 is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.4% C 0.179 H 137.3°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#54A828
RGBrgb(84, 168, 40)
HSLhsl(99, 62%, 41%)
HSVhsv(99, 76%, 66%)
CMYKcmyk(50%, 0%, 76.2%, 34.1%)
CIE-LABlab(61.69, -47.52, 54.39)
CIE-LCHlch(61.69, 72.22, 131.15°)
OKLaboklab(65.4% -0.1318 0.1217)
OKLCHoklch(65.4% 0.179 137.3)
XYZxyz(18.0412, 30.0420, 6.8551)
Luminance0.3004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A828 #7C28A8
analogous
#94A828 #54A828 #28A83C
triadic
#54A828 #2854A8 #A82854
tetradic
#54A828 #2894A8 #7C28A8 #A83C28
square
#54A828 #2894A8 #7C28A8 #A83C28
split-complementary
#54A828 #3C28A8 #A82894
monochromatic
#234510 #3B771C #54A828 #6FD13D #94DC6E

Accessibility & contrast

On white

3.00
#54A828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#54A828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54A828
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A828#FFFFFF#000000##000000
##54A8281.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE990A
Deuteranopia (green-blind)
#A39236
Tritanopia (blue-blind)
#4FA290
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #54a828;
/* rgb */ color: rgb(84, 168, 40);
/* oklch */ color: oklch(65.4% 0.179 137.3);
Tailwind
colors: {
  custom: {
    50: '#8cc26b',
    500: '#54a828',
    950: '#000000',
  },
}
SCSS
$custom: #54a828;
$custom-light: #8cc26b;
$custom-dark: #000000;
JSON
{
  "hex": "#54a828",
  "rgb": {
    "r": 84,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 99.375,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65395,
    "c": 0.17941,
    "h": 137.3
  },
  "luminance": 0.30043
}

Semantic roles & 50–950 ramp

primary
#54A828
secondary
#A469C3
accent
#43E5AD
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A828

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

Preview Lab → · Contrast checker → · Palette generator →

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