#54AF22#54AF22

#54AF22 is a light, vivid yellow-green. Relative luminance 0.327; OKLCH L 67.2% C 0.191 H 137.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#54AF22
RGBrgb(84, 175, 34)
HSLhsl(99, 67%, 41%)
HSVhsv(99, 81%, 69%)
CMYKcmyk(52%, 0%, 80.6%, 31.4%)
CIE-LABlab(63.88, -50.57, 58.38)
CIE-LCHlch(63.88, 77.24, 130.90°)
OKLaboklab(67.19% -0.1403 0.1292)
OKLCHoklch(67.19% 0.191 137.4)
XYZxyz(19.2742, 32.6588, 6.8012)
Luminance0.3266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54AF22 #7D22AF
analogous
#9AAF22 #54AF22 #22AF36
triadic
#54AF22 #2254AF #AF2254
tetradic
#54AF22 #229AAF #7D22AF #AF3622
square
#54AF22 #229AAF #7D22AF #AF3622
split-complementary
#54AF22 #3622AF #AF229A
monochromatic
#23490E #3B7C18 #54AF22 #70D836 #94E269

Accessibility & contrast

On white

2.79
#54AF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#54AF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54AF22
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54AF22#FFFFFF#000000##000000
##54AF221.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#4EA995
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #54af22;
/* rgb */ color: rgb(84, 175, 34);
/* oklch */ color: oklch(67.2% 0.191 137.4);
Tailwind
colors: {
  custom: {
    50: '#8dc86a',
    500: '#54af22',
    950: '#000000',
  },
}
SCSS
$custom: #54af22;
$custom-light: #8dc86a;
$custom-dark: #000000;
JSON
{
  "hex": "#54af22",
  "rgb": {
    "r": 84,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 98.723,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6719,
    "c": 0.19076,
    "h": 137.4
  },
  "luminance": 0.3266
}

Semantic roles & 50–950 ramp

primary
#54AF22
secondary
#A565C8
accent
#3DEAAD
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54AF22

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

Preview Lab → · Contrast checker → · Palette generator →

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