#54A525#54A525

#54A525 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.6% C 0.177 H 136.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#54A525
RGBrgb(84, 165, 37)
HSLhsl(98, 63%, 40%)
HSVhsv(98, 78%, 65%)
CMYKcmyk(49.1%, 0%, 77.6%, 35.3%)
CIE-LABlab(60.72, -46.53, 54.45)
CIE-LCHlch(60.72, 71.62, 130.52°)
OKLaboklab(64.59% -0.1293 0.1214)
OKLCHoklch(64.59% 0.177 136.8)
XYZxyz(17.4447, 28.9275, 6.4142)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A525 #7625A5
analogous
#94A525 #54A525 #25A536
triadic
#54A525 #2554A5 #A52554
tetradic
#54A525 #2594A5 #7625A5 #A53625
square
#54A525 #2594A5 #7625A5 #A53625
split-complementary
#54A525 #3625A5 #A52594
monochromatic
#21410F #3B731A #54A525 #6FD235 #93DD67

Accessibility & contrast

On white

3.09
#54A525 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#54A525 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A525
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A525#FFFFFF#000000##000000
##54A5251.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9703
Deuteranopia (green-blind)
#A09033
Tritanopia (blue-blind)
#4F9F8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #54a525;
/* rgb */ color: rgb(84, 165, 37);
/* oklch */ color: oklch(64.6% 0.177 136.8);
Tailwind
colors: {
  custom: {
    50: '#8cc06a',
    500: '#54a525',
    950: '#000000',
  },
}
SCSS
$custom: #54a525;
$custom-light: #8cc06a;
$custom-dark: #000000;
JSON
{
  "hex": "#54a525",
  "rgb": {
    "r": 84,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 97.969,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64589,
    "c": 0.17738,
    "h": 136.8
  },
  "luminance": 0.28929
}

Semantic roles & 50–950 ramp

primary
#54A525
secondary
#A063C3
accent
#41E6AA
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A525

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

Preview Lab → · Contrast checker → · Palette generator →

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