#54972A#54972A

#54972A is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 60.9% C 0.157 H 135.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#54972A
RGBrgb(84, 151, 42)
HSLhsl(97, 56%, 38%)
HSVhsv(97, 72%, 59%)
CMYKcmyk(44.4%, 0%, 72.2%, 40.8%)
CIE-LABlab(56.27, -40.48, 48.25)
CIE-LCHlch(56.27, 62.98, 130.00°)
OKLaboklab(60.95% -0.1126 0.1092)
OKLCHoklch(60.95% 0.157 135.9)
XYZxyz(15.1403, 24.1843, 6.0603)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54972A #6D2A97
analogous
#8A972A #54972A #2A9737
triadic
#54972A #2A5497 #972A54
tetradic
#54972A #2A8A97 #6D2A97 #97372A
square
#54972A #2A8A97 #6D2A97 #97372A
split-complementary
#54972A #372A97 #972A8A
monochromatic
#1F370F #39671D #54972A #6FC737 #91D567

Accessibility & contrast

On white

3.60
#54972A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#54972A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54972A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54972A#FFFFFF#000000##000000
##54972A1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A18
Deuteranopia (green-blind)
#938534
Tritanopia (blue-blind)
#529182
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #54972a;
/* rgb */ color: rgb(84, 151, 42);
/* oklch */ color: oklch(60.9% 0.157 135.9);
Tailwind
colors: {
  custom: {
    50: '#8ab66a',
    500: '#54972a',
    950: '#000000',
  },
}
SCSS
$custom: #54972a;
$custom-light: #8ab66a;
$custom-dark: #000000;
JSON
{
  "hex": "#54972a",
  "rgb": {
    "r": 84,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 96.881,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60948,
    "c": 0.15686,
    "h": 135.9
  },
  "luminance": 0.24185
}

Semantic roles & 50–950 ramp

primary
#54972A
secondary
#9962BB
accent
#48E0A5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54972A

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

Preview Lab → · Contrast checker → · Palette generator →

#54972A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva