#54972F#54972F

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

Color values

HEX#54972F
RGBrgb(84, 151, 47)
HSLhsl(99, 53%, 39%)
HSVhsv(99, 69%, 59%)
CMYKcmyk(44.4%, 0%, 68.9%, 40.8%)
CIE-LABlab(56.31, -40.07, 46.26)
CIE-LCHlch(56.31, 61.20, 130.90°)
OKLaboklab(60.99% -0.1112 0.1057)
OKLCHoklch(60.99% 0.153 136.4)
XYZxyz(15.2354, 24.2224, 6.5614)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54972F #722F97
analogous
#88972F #54972F #2F973E
triadic
#54972F #2F5497 #972F54
tetradic
#54972F #2F8897 #722F97 #973E2F
square
#54972F #2F8897 #722F97 #973E2F
split-complementary
#54972F #3E2F97 #972F88
monochromatic
#203A12 #3A6820 #54972F #6FC340 #92D26E

Accessibility & contrast

On white

3.59
#54972F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##54972F#FFFFFF#000000##000000
##54972F1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B20
Deuteranopia (green-blind)
#938538
Tritanopia (blue-blind)
#519282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #54972f;
/* rgb */ color: rgb(84, 151, 47);
/* oklch */ color: oklch(61.0% 0.153 136.4);
Tailwind
colors: {
  custom: {
    50: '#8ab66d',
    500: '#54972f',
    950: '#000000',
  },
}
SCSS
$custom: #54972f;
$custom-light: #8ab66d;
$custom-dark: #000000;
JSON
{
  "hex": "#54972f",
  "rgb": {
    "r": 84,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 98.654,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60991,
    "c": 0.15341,
    "h": 136.4
  },
  "luminance": 0.24223
}

Semantic roles & 50–950 ramp

primary
#54972F
secondary
#9D68B9
accent
#4CDCA9
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54972F

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

Preview Lab → · Contrast checker → · Palette generator →

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