#54C21F#54C21F

#54C21F is a light, highly saturated green. Relative luminance 0.406; OKLCH L 72.1% C 0.214 H 138.3°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#54C21F
RGBrgb(84, 194, 31)
HSLhsl(100, 72%, 44%)
HSVhsv(100, 84%, 76%)
CMYKcmyk(56.7%, 0%, 84%, 23.9%)
CIE-LABlab(69.87, -57.68, 64.62)
CIE-LCHlch(69.87, 86.62, 131.75°)
OKLaboklab(72.13% -0.1595 0.1419)
OKLCHoklch(72.13% 0.214 138.3)
XYZxyz(23.1944, 40.5654, 7.9037)
Luminance0.4057 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54C21F #8D1FC2
analogous
#A6C21F #54C21F #1FC23C
triadic
#54C21F #1F54C2 #C21F54
tetradic
#54C21F #1FA6C2 #8D1FC2 #C23C1F
square
#54C21F #1FA6C2 #8D1FC2 #C23C1F
split-complementary
#54C21F #3C1FC2 #C21FA6
monochromatic
#26580E #3D8D17 #54C21F #73E03E #99E973

Accessibility & contrast

On white

2.30
#54C21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#54C21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54C21F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54C21F#FFFFFF#000000##000000
##54C21F1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#49BBA5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #54c21f;
/* rgb */ color: rgb(84, 194, 31);
/* oklch */ color: oklch(72.1% 0.214 138.3);
Tailwind
colors: {
  custom: {
    50: '#90d56b',
    500: '#54c21f',
    950: '#000000',
  },
}
SCSS
$custom: #54c21f;
$custom-light: #90d56b;
$custom-dark: #000000;
JSON
{
  "hex": "#54c21f",
  "rgb": {
    "r": 84,
    "g": 194,
    "b": 31
  },
  "hsl": {
    "h": 100.491,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72126,
    "c": 0.21351,
    "h": 138.3
  },
  "luminance": 0.40567
}

Semantic roles & 50–950 ramp

primary
#54C21F
secondary
#B06DCF
accent
#39EFB4
background
#F9FDF6
surface
#F2FAEC
border
#CCD3C7
text
#0E1408
muted
#7E837A

Preview Lab

Preview with #54C21F

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

Preview Lab → · Contrast checker → · Palette generator →

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