#54972C#54972C

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

Color values

HEX#54972C
RGBrgb(84, 151, 44)
HSLhsl(98, 55%, 38%)
HSVhsv(98, 71%, 59%)
CMYKcmyk(44.4%, 0%, 70.9%, 40.8%)
CIE-LABlab(56.29, -40.32, 47.47)
CIE-LCHlch(56.29, 62.28, 130.35°)
OKLaboklab(60.97% -0.1121 0.1078)
OKLCHoklch(60.97% 0.156 136.1)
XYZxyz(15.1770, 24.1990, 6.2535)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54972C #6F2C97
analogous
#89972C #54972C #2C9739
triadic
#54972C #2C5497 #972C54
tetradic
#54972C #2C8997 #6F2C97 #97392C
square
#54972C #2C8997 #6F2C97 #97392C
split-complementary
#54972C #392C97 #972C89
monochromatic
#1F3810 #3A681E #54972C #6FC63A #91D46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54972C#FFFFFF#000000##000000
##54972C1.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)
#9C8A1B
Deuteranopia (green-blind)
#938536
Tritanopia (blue-blind)
#519182
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #54972c;
/* rgb */ color: rgb(84, 151, 44);
/* oklch */ color: oklch(61.0% 0.156 136.1);
Tailwind
colors: {
  custom: {
    50: '#8ab66b',
    500: '#54972c',
    950: '#000000',
  },
}
SCSS
$custom: #54972c;
$custom-light: #8ab66b;
$custom-dark: #000000;
JSON
{
  "hex": "#54972c",
  "rgb": {
    "r": 84,
    "g": 151,
    "b": 44
  },
  "hsl": {
    "h": 97.57,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60965,
    "c": 0.15552,
    "h": 136.1
  },
  "luminance": 0.242
}

Semantic roles & 50–950 ramp

primary
#54972C
secondary
#9A65BA
accent
#4ADEA7
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54972C

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

Preview Lab → · Contrast checker → · Palette generator →

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