#54B522#54B522

#54B522 is a light, vivid yellow-green. Relative luminance 0.350; OKLCH L 68.8% C 0.198 H 137.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#54B522
RGBrgb(84, 181, 34)
HSLhsl(100, 68%, 42%)
HSVhsv(100, 81%, 71%)
CMYKcmyk(53.6%, 0%, 81.2%, 29%)
CIE-LABlab(65.78, -52.82, 60.14)
CIE-LCHlch(65.78, 80.04, 131.30°)
OKLaboklab(68.76% -0.1464 0.1329)
OKLCHoklch(68.76% 0.198 137.8)
XYZxyz(20.4681, 35.0465, 7.1991)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B522 #8322B5
analogous
#9EB522 #54B522 #22B53A
triadic
#54B522 #2254B5 #B52254
tetradic
#54B522 #229EB5 #8322B5 #B53A22
square
#54B522 #229EB5 #8322B5 #B53A22
split-complementary
#54B522 #3A22B5 #B5229E
monochromatic
#244E0F #3C8118 #54B522 #71DA3A #96E46E

Accessibility & contrast

On white

2.62
#54B522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#54B522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54B522
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54B522#FFFFFF#000000##000000
##54B5221.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#4CAE9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #54b522;
/* rgb */ color: rgb(84, 181, 34);
/* oklch */ color: oklch(68.8% 0.198 137.8);
Tailwind
colors: {
  custom: {
    50: '#8ecc6b',
    500: '#54b522',
    950: '#000000',
  },
}
SCSS
$custom: #54b522;
$custom-light: #8ecc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#54b522",
  "rgb": {
    "r": 84,
    "g": 181,
    "b": 34
  },
  "hsl": {
    "h": 99.592,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68758,
    "c": 0.1977,
    "h": 137.8
  },
  "luminance": 0.35048
}

Semantic roles & 50–950 ramp

primary
#54B522
secondary
#A969CA
accent
#3DEBB0
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B522

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

Preview Lab → · Contrast checker → · Palette generator →

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