#54972B#54972B

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

Color values

HEX#54972B
RGBrgb(84, 151, 43)
HSLhsl(97, 56%, 38%)
HSVhsv(97, 72%, 59%)
CMYKcmyk(44.4%, 0%, 71.5%, 40.8%)
CIE-LABlab(56.28, -40.40, 47.86)
CIE-LCHlch(56.28, 62.63, 130.17°)
OKLaboklab(60.96% -0.1123 0.1085)
OKLCHoklch(60.96% 0.156 136)
XYZxyz(15.1584, 24.1916, 6.1557)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54972B #6E2B97
analogous
#8A972B #54972B #2B9738
triadic
#54972B #2B5497 #972B54
tetradic
#54972B #2B8A97 #6E2B97 #97382B
square
#54972B #2B8A97 #6E2B97 #97382B
split-complementary
#54972B #382B97 #972B8A
monochromatic
#1F3810 #3A671D #54972B #6FC739 #91D468

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54972B#FFFFFF#000000##000000
##54972B1.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)
#9C8A1A
Deuteranopia (green-blind)
#938535
Tritanopia (blue-blind)
#519182
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #54972b;
/* rgb */ color: rgb(84, 151, 43);
/* oklch */ color: oklch(61.0% 0.156 136.0);
Tailwind
colors: {
  custom: {
    50: '#8ab66b',
    500: '#54972b',
    950: '#000000',
  },
}
SCSS
$custom: #54972b;
$custom-light: #8ab66b;
$custom-dark: #000000;
JSON
{
  "hex": "#54972b",
  "rgb": {
    "r": 84,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 97.222,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60956,
    "c": 0.1562,
    "h": 136
  },
  "luminance": 0.24192
}

Semantic roles & 50–950 ramp

primary
#54972B
secondary
#9963BB
accent
#49DFA6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54972B

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

Preview Lab → · Contrast checker → · Palette generator →

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