#54A231#54A231

#54A231 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.9% C 0.166 H 137.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#54A231
RGBrgb(84, 162, 49)
HSLhsl(101, 54%, 41%)
HSVhsv(101, 70%, 64%)
CMYKcmyk(48.1%, 0%, 69.8%, 36.5%)
CIE-LABlab(59.84, -44.47, 49.15)
CIE-LCHlch(59.84, 66.28, 132.13°)
OKLaboklab(63.89% -0.1229 0.112)
OKLCHoklch(63.89% 0.166 137.7)
XYZxyz(17.1303, 27.9461, 7.3966)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A231 #7F31A2
analogous
#8DA231 #54A231 #31A247
triadic
#54A231 #3154A2 #A23154
tetradic
#54A231 #318DA2 #7F31A2 #A24731
square
#54A231 #318DA2 #7F31A2 #A24731
split-complementary
#54A231 #4731A2 #A2318D
monochromatic
#234415 #3C7323 #54A231 #70C848 #95D677

Accessibility & contrast

On white

3.19
#54A231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#54A231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A231
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A231#FFFFFF#000000##000000
##54A2311.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79420
Deuteranopia (green-blind)
#9D8E3B
Tritanopia (blue-blind)
#4F9C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #54a231;
/* rgb */ color: rgb(84, 162, 49);
/* oklch */ color: oklch(63.9% 0.166 137.7);
Tailwind
colors: {
  custom: {
    50: '#8bbe6f',
    500: '#54a231',
    950: '#000000',
  },
}
SCSS
$custom: #54a231;
$custom-light: #8bbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#54a231",
  "rgb": {
    "r": 84,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 101.416,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63893,
    "c": 0.16633,
    "h": 137.7
  },
  "luminance": 0.27947
}

Semantic roles & 50–950 ramp

primary
#54A231
secondary
#A671BE
accent
#4BDDB0
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0D1208
muted
#7D817B

Preview Lab

Preview with #54A231

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

Preview Lab → · Contrast checker → · Palette generator →

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