#54972D#54972D

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

Color values

HEX#54972D
RGBrgb(84, 151, 45)
HSLhsl(98, 54%, 38%)
HSVhsv(98, 70%, 59%)
CMYKcmyk(44.4%, 0%, 70.2%, 40.8%)
CIE-LABlab(56.29, -40.24, 47.07)
CIE-LCHlch(56.29, 61.93, 130.53°)
OKLaboklab(60.97% -0.1118 0.1071)
OKLCHoklch(60.97% 0.155 136.2)
XYZxyz(15.1960, 24.2066, 6.3537)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54972D #702D97
analogous
#89972D #54972D #2D973B
triadic
#54972D #2D5497 #972D54
tetradic
#54972D #2D8997 #702D97 #973B2D
square
#54972D #2D8997 #702D97 #973B2D
split-complementary
#54972D #3B2D97 #972D89
monochromatic
#203911 #3A681F #54972D #6FC53C #92D36B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54972D#FFFFFF#000000##000000
##54972D1.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)
#9C8A1D
Deuteranopia (green-blind)
#938537
Tritanopia (blue-blind)
#519182
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #54972d;
/* rgb */ color: rgb(84, 151, 45);
/* oklch */ color: oklch(61.0% 0.155 136.2);
Tailwind
colors: {
  custom: {
    50: '#8ab66c',
    500: '#54972d',
    950: '#000000',
  },
}
SCSS
$custom: #54972d;
$custom-light: #8ab66c;
$custom-dark: #000000;
JSON
{
  "hex": "#54972d",
  "rgb": {
    "r": 84,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 97.925,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60973,
    "c": 0.15483,
    "h": 136.2
  },
  "luminance": 0.24207
}

Semantic roles & 50–950 ramp

primary
#54972D
secondary
#9B66BA
accent
#4ADDA7
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54972D

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

Preview Lab → · Contrast checker → · Palette generator →

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