#54AF28#54AF28

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

Color values

HEX#54AF28
RGBrgb(84, 175, 40)
HSLhsl(100, 63%, 42%)
HSVhsv(100, 77%, 69%)
CMYKcmyk(52%, 0%, 77.1%, 31.4%)
CIE-LABlab(63.91, -50.23, 56.54)
CIE-LCHlch(63.91, 75.63, 131.61°)
OKLaboklab(67.23% -0.1391 0.1262)
OKLCHoklch(67.23% 0.188 137.8)
XYZxyz(19.3685, 32.6965, 7.2975)
Luminance0.3270 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54AF28 #8328AF
analogous
#98AF28 #54AF28 #28AF3F
triadic
#54AF28 #2854AF #AF2854
tetradic
#54AF28 #2898AF #8328AF #AF3F28
square
#54AF28 #2898AF #8328AF #AF3F28
split-complementary
#54AF28 #3F28AF #AF2898
monochromatic
#244B11 #3C7D1D #54AF28 #71D441 #96DF73

Accessibility & contrast

On white

2.79
#54AF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##54AF28#FFFFFF#000000##000000
##54AF281.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54af28;
/* rgb */ color: rgb(84, 175, 40);
/* oklch */ color: oklch(67.2% 0.188 137.8);
Tailwind
colors: {
  custom: {
    50: '#8dc86c',
    500: '#54af28',
    950: '#000000',
  },
}
SCSS
$custom: #54af28;
$custom-light: #8dc86c;
$custom-dark: #000000;
JSON
{
  "hex": "#54af28",
  "rgb": {
    "r": 84,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 100.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67226,
    "c": 0.18783,
    "h": 137.8
  },
  "luminance": 0.32698
}

Semantic roles & 50–950 ramp

primary
#54AF28
secondary
#A96DC6
accent
#42E6B0
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54AF28

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

Preview Lab → · Contrast checker → · Palette generator →

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