#54B31A#54B31A

#54B31A is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.2% C 0.199 H 137.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#54B31A
RGBrgb(84, 179, 26)
HSLhsl(97, 75%, 40%)
HSVhsv(97, 85%, 70%)
CMYKcmyk(53.1%, 0%, 85.5%, 29.8%)
CIE-LABlab(65.12, -52.45, 61.59)
CIE-LCHlch(65.12, 80.90, 130.41°)
OKLaboklab(68.2% -0.1458 0.1348)
OKLCHoklch(68.2% 0.199 137.2)
XYZxyz(19.9621, 34.1981, 6.5261)
Luminance0.3420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B31A #791AB3
analogous
#A0B31A #54B31A #1AB32D
triadic
#54B31A #1A54B3 #B31A54
tetradic
#54B31A #1AA0B3 #791AB3 #B32D1A
square
#54B31A #1AA0B3 #791AB3 #B32D1A
split-complementary
#54B31A #2D1AB3 #B31AA0
monochromatic
#22480A #3B7E12 #54B31A #6FE02A #93E860

Accessibility & contrast

On white

2.68
#54B31A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#54B31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54B31A
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54B31A#FFFFFF#000000##000000
##54B31A1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AD9B2F
Tritanopia (blue-blind)
#4DAC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #54b31a;
/* rgb */ color: rgb(84, 179, 26);
/* oklch */ color: oklch(68.2% 0.199 137.2);
Tailwind
colors: {
  custom: {
    50: '#8eca67',
    500: '#54b31a',
    950: '#000000',
  },
}
SCSS
$custom: #54b31a;
$custom-light: #8eca67;
$custom-dark: #000000;
JSON
{
  "hex": "#54b31a",
  "rgb": {
    "r": 84,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 97.255,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68199,
    "c": 0.19856,
    "h": 137.2
  },
  "luminance": 0.342
}

Semantic roles & 50–950 ramp

primary
#54B31A
secondary
#A25DCC
accent
#37F1AA
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B31A

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

Preview Lab → · Contrast checker → · Palette generator →

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