#54A128#54A128

#54A128 is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.6% C 0.171 H 136.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#54A128
RGBrgb(84, 161, 40)
HSLhsl(98, 60%, 39%)
HSVhsv(98, 75%, 63%)
CMYKcmyk(47.8%, 0%, 75.2%, 36.9%)
CIE-LABlab(59.46, -44.74, 52.19)
CIE-LCHlch(59.46, 68.75, 130.60°)
OKLaboklab(63.56% -0.1243 0.1172)
OKLCHoklch(63.56% 0.171 136.7)
XYZxyz(16.7835, 27.5266, 6.4359)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A128 #7528A1
analogous
#91A128 #54A128 #28A139
triadic
#54A128 #2854A1 #A12854
tetradic
#54A128 #2891A1 #7528A1 #A13928
square
#54A128 #2891A1 #7528A1 #A13928
split-complementary
#54A128 #3928A1 #A12891
monochromatic
#213F10 #3A701C #54A128 #6FCE39 #92DA6A

Accessibility & contrast

On white

3.23
#54A128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#54A128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A128
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A128#FFFFFF#000000##000000
##54A1281.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930F
Deuteranopia (green-blind)
#9C8D34
Tritanopia (blue-blind)
#509B8A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #54a128;
/* rgb */ color: rgb(84, 161, 40);
/* oklch */ color: oklch(63.6% 0.171 136.7);
Tailwind
colors: {
  custom: {
    50: '#8bbd6b',
    500: '#54a128',
    950: '#000000',
  },
}
SCSS
$custom: #54a128;
$custom-light: #8bbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#54a128",
  "rgb": {
    "r": 84,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 98.182,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6356,
    "c": 0.17081,
    "h": 136.7
  },
  "luminance": 0.27528
}

Semantic roles & 50–950 ramp

primary
#54A128
secondary
#9F65C0
accent
#44E3AA
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #54A128

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

Preview Lab → · Contrast checker → · Palette generator →

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