#54A226#54A226

#54A226 is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 63.8% C 0.173 H 136.6°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#54A226
RGBrgb(84, 162, 38)
HSLhsl(98, 62%, 39%)
HSVhsv(98, 77%, 64%)
CMYKcmyk(48.1%, 0%, 76.5%, 36.5%)
CIE-LABlab(59.77, -45.27, 53.19)
CIE-LCHlch(59.77, 69.85, 130.40°)
OKLaboklab(63.81% -0.1259 0.1189)
OKLCHoklch(63.81% 0.173 136.6)
XYZxyz(16.9259, 27.8643, 6.3198)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A226 #7426A2
analogous
#92A226 #54A226 #26A236
triadic
#54A226 #2654A2 #A22654
tetradic
#54A226 #2692A2 #7426A2 #A23626
square
#54A226 #2692A2 #7426A2 #A23626
split-complementary
#54A226 #3626A2 #A22692
monochromatic
#213F0F #3A701A #54A226 #6FD035 #92DB67

Accessibility & contrast

On white

3.19
#54A226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#54A226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A226
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A226#FFFFFF#000000##000000
##54A2261.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89409
Deuteranopia (green-blind)
#9D8E33
Tritanopia (blue-blind)
#509C8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #54a226;
/* rgb */ color: rgb(84, 162, 38);
/* oklch */ color: oklch(63.8% 0.173 136.6);
Tailwind
colors: {
  custom: {
    50: '#8cbe6a',
    500: '#54a226',
    950: '#000000',
  },
}
SCSS
$custom: #54a226;
$custom-light: #8cbe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#54a226",
  "rgb": {
    "r": 84,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 97.742,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63808,
    "c": 0.17318,
    "h": 136.6
  },
  "luminance": 0.27865
}

Semantic roles & 50–950 ramp

primary
#54A226
secondary
#9E63C1
accent
#43E5A9
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A226

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

Preview Lab → · Contrast checker → · Palette generator →

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