#54AF40#54AF40

#54AF40 is a light, vivid green. Relative luminance 0.329; OKLCH L 67.4% C 0.172 H 140.2°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#54AF40
RGBrgb(84, 175, 64)
HSLhsl(109, 46%, 47%)
HSVhsv(109, 63%, 69%)
CMYKcmyk(52%, 0%, 63.4%, 31.4%)
CIE-LABlab(64.09, -48.27, 47.39)
CIE-LCHlch(64.09, 67.64, 135.52°)
OKLaboklab(67.43% -0.1323 0.1101)
OKLCHoklch(67.43% 0.172 140.2)
XYZxyz(19.9107, 32.9134, 10.1532)
Luminance0.3291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54AF40 #9B40AF
analogous
#8CAF40 #54AF40 #40AF63
triadic
#54AF40 #4054AF #AF4054
tetradic
#54AF40 #408CAF #9B40AF #AF6340
square
#54AF40 #408CAF #9B40AF #AF6340
split-complementary
#54AF40 #6340AF #AF408C
monochromatic
#29551F #3E8230 #54AF40 #77C765 #9FD792

Accessibility & contrast

On white

2.77
#54AF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#54AF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54AF40
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54AF40#FFFFFF#000000##000000
##54AF401.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A033
Deuteranopia (green-blind)
#A89849
Tritanopia (blue-blind)
#4AAA98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #54af40;
/* rgb */ color: rgb(84, 175, 64);
/* oklch */ color: oklch(67.4% 0.172 140.2);
Tailwind
colors: {
  custom: {
    50: '#8cc879',
    500: '#54af40',
    950: '#000000',
  },
}
SCSS
$custom: #54af40;
$custom-light: #8cc879;
$custom-dark: #000000;
JSON
{
  "hex": "#54af40",
  "rgb": {
    "r": 84,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 109.189,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67427,
    "c": 0.1721,
    "h": 140.2
  },
  "luminance": 0.32915
}

Semantic roles & 50–950 ramp

primary
#54AF40
secondary
#B888C3
accent
#52D6BE
background
#F9FCF7
surface
#F1F8EE
border
#CBD1C9
text
#0D1309
muted
#7E827B

Preview Lab

Preview with #54AF40

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

Preview Lab → · Contrast checker → · Palette generator →

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