#54AD1F#54AD1F

#54AD1F is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 66.7% C 0.190 H 137.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#54AD1F
RGBrgb(84, 173, 31)
HSLhsl(98, 70%, 40%)
HSVhsv(98, 82%, 68%)
CMYKcmyk(51.4%, 0%, 82.1%, 32.2%)
CIE-LABlab(63.23, -49.97, 58.63)
CIE-LCHlch(63.23, 77.03, 130.44°)
OKLaboklab(66.65% -0.1389 0.1293)
OKLCHoklch(66.65% 0.19 137)
XYZxyz(18.8465, 31.8695, 6.4544)
Luminance0.3187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54AD1F #781FAD
analogous
#9BAD1F #54AD1F #1FAD31
triadic
#54AD1F #1F54AD #AD1F54
tetradic
#54AD1F #1F9BAD #781FAD #AD311F
square
#54AD1F #1F9BAD #781FAD #AD311F
split-complementary
#54AD1F #311FAD #AD1F9B
monochromatic
#22450C #3B7916 #54AD1F #6FDA2F #93E363

Accessibility & contrast

On white

2.85
#54AD1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#54AD1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54AD1F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54AD1F#FFFFFF#000000##000000
##54AD1F1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A89631
Tritanopia (blue-blind)
#4EA793
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #54ad1f;
/* rgb */ color: rgb(84, 173, 31);
/* oklch */ color: oklch(66.7% 0.190 137.0);
Tailwind
colors: {
  custom: {
    50: '#8dc668',
    500: '#54ad1f',
    950: '#000000',
  },
}
SCSS
$custom: #54ad1f;
$custom-light: #8dc668;
$custom-dark: #000000;
JSON
{
  "hex": "#54ad1f",
  "rgb": {
    "r": 84,
    "g": 173,
    "b": 31
  },
  "hsl": {
    "h": 97.606,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.66652,
    "c": 0.18975,
    "h": 137
  },
  "luminance": 0.31871
}

Semantic roles & 50–950 ramp

primary
#54AD1F
secondary
#A160C8
accent
#3BECAA
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54AD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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