#54971F#54971F

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

Color values

HEX#54971F
RGBrgb(84, 151, 31)
HSLhsl(94, 66%, 36%)
HSVhsv(94, 79%, 59%)
CMYKcmyk(44.4%, 0%, 79.5%, 40.8%)
CIE-LABlab(56.20, -41.20, 52.10)
CIE-LCHlch(56.20, 66.43, 128.34°)
OKLaboklab(60.87% -0.1154 0.1156)
OKLCHoklch(60.87% 0.163 134.9)
XYZxyz(14.9698, 24.1161, 5.1621)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54971F #621F97
analogous
#90971F #54971F #1F9726
triadic
#54971F #1F5497 #971F54
tetradic
#54971F #1F9097 #621F97 #97261F
square
#54971F #1F9097 #621F97 #97261F
split-complementary
#54971F #261F97 #971F90
monochromatic
#1C310A #386415 #54971F #70CA29 #90DC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54971F#FFFFFF#000000##000000
##54971F1.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)
#94852C
Tritanopia (blue-blind)
#529181
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #54971f;
/* rgb */ color: rgb(84, 151, 31);
/* oklch */ color: oklch(60.9% 0.163 134.9);
Tailwind
colors: {
  custom: {
    50: '#8ab665',
    500: '#54971f',
    950: '#000000',
  },
}
SCSS
$custom: #54971f;
$custom-light: #8ab665;
$custom-dark: #000000;
JSON
{
  "hex": "#54971f",
  "rgb": {
    "r": 84,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 93.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60871,
    "c": 0.16331,
    "h": 134.9
  },
  "luminance": 0.24117
}

Semantic roles & 50–950 ramp

primary
#54971F
secondary
#8F52BF
accent
#3FE99E
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54971F

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

Preview Lab → · Contrast checker → · Palette generator →

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