#54AF2A#54AF2A

#54AF2A is a light, vivid green. Relative luminance 0.327; OKLCH L 67.2% C 0.187 H 137.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#54AF2A
RGBrgb(84, 175, 42)
HSLhsl(101, 61%, 43%)
HSVhsv(101, 76%, 69%)
CMYKcmyk(52%, 0%, 76%, 31.4%)
CIE-LABlab(63.93, -50.10, 55.89)
CIE-LCHlch(63.93, 75.06, 131.87°)
OKLaboklab(67.24% -0.1386 0.1252)
OKLCHoklch(67.24% 0.187 137.9)
XYZxyz(19.4034, 32.7105, 7.4813)
Luminance0.3271 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54AF2A #852AAF
analogous
#96AF2A #54AF2A #2AAF43
triadic
#54AF2A #2A54AF #AF2A54
tetradic
#54AF2A #2A96AF #852AAF #AF432A
square
#54AF2A #2A96AF #852AAF #AF432A
split-complementary
#54AF2A #432AAF #AF2A96
monochromatic
#254C12 #3C7E1E #54AF2A #71D244 #96DE75

Accessibility & contrast

On white

2.78
#54AF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#54AF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54AF2A
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54AF2A#FFFFFF#000000##000000
##54AF2A1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00B
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#4DA996
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #54af2a;
/* rgb */ color: rgb(84, 175, 42);
/* oklch */ color: oklch(67.2% 0.187 137.9);
Tailwind
colors: {
  custom: {
    50: '#8dc86d',
    500: '#54af2a',
    950: '#000000',
  },
}
SCSS
$custom: #54af2a;
$custom-light: #8dc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#54af2a",
  "rgb": {
    "r": 84,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 101.053,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67239,
    "c": 0.18675,
    "h": 137.9
  },
  "luminance": 0.32712
}

Semantic roles & 50–950 ramp

primary
#54AF2A
secondary
#AA6FC6
accent
#43E4B2
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #54AF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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