#54B41C#54B41C

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

Color values

HEX#54B41C
RGBrgb(84, 180, 28)
HSLhsl(98, 73%, 41%)
HSVhsv(98, 84%, 71%)
CMYKcmyk(53.3%, 0%, 84.4%, 29.4%)
CIE-LABlab(65.44, -52.73, 61.40)
CIE-LCHlch(65.44, 80.94, 130.66°)
OKLaboklab(68.47% -0.1464 0.1347)
OKLCHoklch(68.47% 0.199 137.4)
XYZxyz(20.1864, 34.6096, 6.7150)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B41C #7C1CB4
analogous
#A0B41C #54B41C #1CB430
triadic
#54B41C #1C54B4 #B41C54
tetradic
#54B41C #1CA0B4 #7C1CB4 #B4301C
square
#54B41C #1CA0B4 #7C1CB4 #B4301C
split-complementary
#54B41C #301CB4 #B41CA0
monochromatic
#234A0C #3B7F14 #54B41C #6FDF2F #94E764

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54B41C#FFFFFF#000000##000000
##54B41C1.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)
#AE9C30
Tritanopia (blue-blind)
#4DAD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #54b41c;
/* rgb */ color: rgb(84, 180, 28);
/* oklch */ color: oklch(68.5% 0.199 137.4);
Tailwind
colors: {
  custom: {
    50: '#8ecb68',
    500: '#54b41c',
    950: '#000000',
  },
}
SCSS
$custom: #54b41c;
$custom-light: #8ecb68;
$custom-dark: #000000;
JSON
{
  "hex": "#54b41c",
  "rgb": {
    "r": 84,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 97.895,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68468,
    "c": 0.19898,
    "h": 137.4
  },
  "luminance": 0.34611
}

Semantic roles & 50–950 ramp

primary
#54B41C
secondary
#A460CC
accent
#38F0AC
background
#F9FCF6
surface
#F2F9EB
border
#CCD2C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B41C

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

Preview Lab → · Contrast checker → · Palette generator →

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