#54A52A#54A52A

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

Color values

HEX#54A52A
RGBrgb(84, 165, 42)
HSLhsl(100, 59%, 41%)
HSVhsv(100, 75%, 65%)
CMYKcmyk(49.1%, 0%, 74.5%, 35.3%)
CIE-LABlab(60.75, -46.20, 52.75)
CIE-LCHlch(60.75, 70.13, 131.21°)
OKLaboklab(64.62% -0.1281 0.1186)
OKLCHoklch(64.62% 0.175 137.2)
XYZxyz(17.5287, 28.9610, 6.8564)
Luminance0.2896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A52A #7B2AA5
analogous
#91A52A #54A52A #2AA53D
triadic
#54A52A #2A54A5 #A52A54
tetradic
#54A52A #2A91A5 #7B2AA5 #A53D2A
square
#54A52A #2A91A5 #7B2AA5 #A53D2A
split-complementary
#54A52A #3D2AA5 #A52A91
monochromatic
#224311 #3B741E #54A52A #6FCE3E #94DA6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54A52A#FFFFFF#000000##000000
##54A52A1.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)
#AB9712
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#4F9F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #54a52a;
/* rgb */ color: rgb(84, 165, 42);
/* oklch */ color: oklch(64.6% 0.175 137.2);
Tailwind
colors: {
  custom: {
    50: '#8cc06c',
    500: '#54a52a',
    950: '#000000',
  },
}
SCSS
$custom: #54a52a;
$custom-light: #8cc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#54a52a",
  "rgb": {
    "r": 84,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 99.512,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64623,
    "c": 0.17459,
    "h": 137.2
  },
  "luminance": 0.28962
}

Semantic roles & 50–950 ramp

primary
#54A52A
secondary
#A369C1
accent
#45E3AD
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A52A

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

Preview Lab → · Contrast checker → · Palette generator →

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