#54D940#54D940

#54D940 is a light, highly saturated green. Relative luminance 0.519; OKLCH L 78.2% C 0.223 H 141.2°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#54D940
RGBrgb(84, 217, 64)
HSLhsl(112, 67%, 55%)
HSVhsv(112, 71%, 85%)
CMYKcmyk(61.3%, 0%, 70.5%, 14.9%)
CIE-LABlab(77.21, -63.64, 61.43)
CIE-LCHlch(77.21, 88.45, 136.01°)
OKLaboklab(78.25% -0.1739 0.1397)
OKLCHoklch(78.25% 0.223 141.2)
XYZxyz(29.3929, 51.8779, 13.3140)
Luminance0.5188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54D940 #C540D9
analogous
#A0D940 #54D940 #40D979
triadic
#54D940 #4054D9 #D94054
tetradic
#54D940 #40A0D9 #C540D9 #D97940
square
#54D940 #40A0D9 #C540D9 #D97940
split-complementary
#54D940 #7940D9 #D940A0
monochromatic
#28841A #38B724 #54D940 #82E373 #AFEDA6

Accessibility & contrast

On white

1.85
#54D940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#54D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54D940
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54D940#FFFFFF#000000##000000
##54D9401.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC527
Deuteranopia (green-blind)
#CEBA4F
Tritanopia (blue-blind)
#3ED2BB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #54d940;
/* rgb */ color: rgb(84, 217, 64);
/* oklch */ color: oklch(78.2% 0.223 141.2);
Tailwind
colors: {
  custom: {
    50: '#93e67d',
    500: '#54d940',
    950: '#000000',
  },
}
SCSS
$custom: #54d940;
$custom-light: #93e67d;
$custom-dark: #000000;
JSON
{
  "hex": "#54d940",
  "rgb": {
    "r": 84,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 112.157,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78247,
    "c": 0.22304,
    "h": 141.2
  },
  "luminance": 0.51881
}

Semantic roles & 50–950 ramp

primary
#54D940
secondary
#7F328B
accent
#3EEAD3
background
#FCFEFB
surface
#F5FCF2
border
#CFD5CC
text
#0E160A
muted
#7F847D

Preview Lab

Preview with #54D940

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

Preview Lab → · Contrast checker → · Palette generator →

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