#54971A#54971A

#54971A is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 60.8% C 0.166 H 134.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#54971A
RGBrgb(84, 151, 26)
HSLhsl(92, 71%, 35%)
HSVhsv(92, 83%, 59%)
CMYKcmyk(44.4%, 0%, 82.8%, 40.8%)
CIE-LABlab(56.18, -41.47, 53.59)
CIE-LCHlch(56.18, 67.76, 127.73°)
OKLaboklab(60.84% -0.1164 0.118)
OKLCHoklch(60.84% 0.166 134.6)
XYZxyz(14.9089, 24.0918, 4.8417)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54971A #5D1A97
analogous
#93971A #54971A #1A971F
triadic
#54971A #1A5497 #971A54
tetradic
#54971A #1A9397 #5D1A97 #971F1A
square
#54971A #1A9397 #5D1A97 #971F1A
split-complementary
#54971A #1F1A97 #971A93
monochromatic
#1A2F08 #376311 #54971A #71CB23 #90E04B

Accessibility & contrast

On white

3.61
#54971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#54971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54971A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54971A#FFFFFF#000000##000000
##54971A1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#948529
Tritanopia (blue-blind)
#539180
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #54971a;
/* rgb */ color: rgb(84, 151, 26);
/* oklch */ color: oklch(60.8% 0.166 134.6);
Tailwind
colors: {
  custom: {
    50: '#8bb663',
    500: '#54971a',
    950: '#000000',
  },
}
SCSS
$custom: #54971a;
$custom-light: #8bb663;
$custom-dark: #000000;
JSON
{
  "hex": "#54971a",
  "rgb": {
    "r": 84,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 92.16,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60843,
    "c": 0.1657,
    "h": 134.6
  },
  "luminance": 0.24093
}

Semantic roles & 50–950 ramp

primary
#54971A
secondary
#8B4BC2
accent
#3AED9A
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54971A

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

Preview Lab → · Contrast checker → · Palette generator →

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