#54A126#54A126

#54A126 is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.5% C 0.172 H 136.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#54A126
RGBrgb(84, 161, 38)
HSLhsl(98, 62%, 39%)
HSVhsv(98, 76%, 63%)
CMYKcmyk(47.8%, 0%, 76.4%, 36.9%)
CIE-LABlab(59.45, -44.87, 52.88)
CIE-LCHlch(59.45, 69.36, 130.32°)
OKLaboklab(63.55% -0.1248 0.1183)
OKLCHoklch(63.55% 0.172 136.5)
XYZxyz(16.7504, 27.5134, 6.2613)
Luminance0.2751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A126 #7326A1
analogous
#92A126 #54A126 #26A136
triadic
#54A126 #2654A1 #A12654
tetradic
#54A126 #2692A1 #7326A1 #A13626
square
#54A126 #2692A1 #7326A1 #A13626
split-complementary
#54A126 #3626A1 #A12692
monochromatic
#203E0F #3A6F1A #54A126 #6FCF35 #92DB66

Accessibility & contrast

On white

3.23
#54A126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#54A126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A126
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A126#FFFFFF#000000##000000
##54A1261.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930A
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#509B8A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #54a126;
/* rgb */ color: rgb(84, 161, 38);
/* oklch */ color: oklch(63.5% 0.172 136.5);
Tailwind
colors: {
  custom: {
    50: '#8bbd6a',
    500: '#54a126',
    950: '#000000',
  },
}
SCSS
$custom: #54a126;
$custom-light: #8bbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#54a126",
  "rgb": {
    "r": 84,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 97.561,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63546,
    "c": 0.17194,
    "h": 136.5
  },
  "luminance": 0.27514
}

Semantic roles & 50–950 ramp

primary
#54A126
secondary
#9D62C1
accent
#43E5A8
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A126

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

Preview Lab → · Contrast checker → · Palette generator →

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