#54AC1F#54AC1F

#54AC1F is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.4% C 0.189 H 137.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#54AC1F
RGBrgb(84, 172, 31)
HSLhsl(97, 69%, 40%)
HSVhsv(97, 82%, 67%)
CMYKcmyk(51.2%, 0%, 82%, 32.5%)
CIE-LABlab(62.92, -49.58, 58.34)
CIE-LCHlch(62.92, 76.56, 130.36°)
OKLaboklab(66.39% -0.1379 0.1287)
OKLCHoklch(66.39% 0.189 137)
XYZxyz(18.6554, 31.4874, 6.3907)
Luminance0.3149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54AC1F #771FAC
analogous
#9AAC1F #54AC1F #1FAC31
triadic
#54AC1F #1F54AC #AC1F54
tetradic
#54AC1F #1F9AAC #771FAC #AC311F
square
#54AC1F #1F9AAC #771FAC #AC311F
split-complementary
#54AC1F #311FAC #AC1F9A
monochromatic
#21440C #3B7816 #54AC1F #6FD92F #93E363

Accessibility & contrast

On white

2.88
#54AC1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#54AC1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54AC1F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54AC1F#FFFFFF#000000##000000
##54AC1F1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#4FA693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #54ac1f;
/* rgb */ color: rgb(84, 172, 31);
/* oklch */ color: oklch(66.4% 0.189 137.0);
Tailwind
colors: {
  custom: {
    50: '#8dc568',
    500: '#54ac1f',
    950: '#000000',
  },
}
SCSS
$custom: #54ac1f;
$custom-light: #8dc568;
$custom-dark: #000000;
JSON
{
  "hex": "#54ac1f",
  "rgb": {
    "r": 84,
    "g": 172,
    "b": 31
  },
  "hsl": {
    "h": 97.447,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6639,
    "c": 0.18858,
    "h": 137
  },
  "luminance": 0.31489
}

Semantic roles & 50–950 ramp

primary
#54AC1F
secondary
#A05FC8
accent
#3CECAA
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54AC1F

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

Preview Lab → · Contrast checker → · Palette generator →

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