#54B41A#54B41A

#54B41A is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 68.5% C 0.200 H 137.3°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#54B41A
RGBrgb(84, 180, 26)
HSLhsl(97, 75%, 40%)
HSVhsv(97, 86%, 71%)
CMYKcmyk(53.3%, 0%, 85.6%, 29.4%)
CIE-LABlab(65.44, -52.82, 61.87)
CIE-LCHlch(65.44, 81.35, 130.49°)
OKLaboklab(68.46% -0.1467 0.1354)
OKLCHoklch(68.46% 0.2 137.3)
XYZxyz(20.1632, 34.6004, 6.5931)
Luminance0.3460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B41A #7A1AB4
analogous
#A1B41A #54B41A #1AB42D
triadic
#54B41A #1A54B4 #B41A54
tetradic
#54B41A #1AA1B4 #7A1AB4 #B42D1A
square
#54B41A #1AA1B4 #7A1AB4 #B42D1A
split-complementary
#54B41A #2D1AB4 #B41AA1
monochromatic
#22490B #3B7F12 #54B41A #6FE02B #93E860

Accessibility & contrast

On white

2.65
#54B41A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#54B41A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54B41A
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54B41A#FFFFFF#000000##000000
##54B41A1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#4DAD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #54b41a;
/* rgb */ color: rgb(84, 180, 26);
/* oklch */ color: oklch(68.5% 0.200 137.3);
Tailwind
colors: {
  custom: {
    50: '#8ecb68',
    500: '#54b41a',
    950: '#000000',
  },
}
SCSS
$custom: #54b41a;
$custom-light: #8ecb68;
$custom-dark: #000000;
JSON
{
  "hex": "#54b41a",
  "rgb": {
    "r": 84,
    "g": 180,
    "b": 26
  },
  "hsl": {
    "h": 97.403,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6846,
    "c": 0.19969,
    "h": 137.3
  },
  "luminance": 0.34602
}

Semantic roles & 50–950 ramp

primary
#54B41A
secondary
#A35DCC
accent
#36F1AB
background
#F9FCF6
surface
#F2F9EB
border
#CCD2C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B41A

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

Preview Lab → · Contrast checker → · Palette generator →

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