#54971D#54971D

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

Color values

HEX#54971D
RGBrgb(84, 151, 29)
HSLhsl(93, 68%, 35%)
HSVhsv(93, 81%, 59%)
CMYKcmyk(44.4%, 0%, 80.8%, 40.8%)
CIE-LABlab(56.19, -41.31, 52.72)
CIE-LCHlch(56.19, 66.98, 128.08°)
OKLaboklab(60.86% -0.1158 0.1166)
OKLCHoklch(60.86% 0.164 134.8)
XYZxyz(14.9442, 24.1059, 5.0276)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54971D #601D97
analogous
#91971D #54971D #1D9723
triadic
#54971D #1D5497 #971D54
tetradic
#54971D #1D9197 #601D97 #97231D
square
#54971D #1D9197 #601D97 #97231D
split-complementary
#54971D #231D97 #971D91
monochromatic
#1B3009 #376413 #54971D #71CA27 #90DE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #54971d;
/* rgb */ color: rgb(84, 151, 29);
/* oklch */ color: oklch(60.9% 0.164 134.8);
Tailwind
colors: {
  custom: {
    50: '#8bb664',
    500: '#54971d',
    950: '#000000',
  },
}
SCSS
$custom: #54971d;
$custom-light: #8bb664;
$custom-dark: #000000;
JSON
{
  "hex": "#54971d",
  "rgb": {
    "r": 84,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 92.951,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60859,
    "c": 0.16431,
    "h": 134.8
  },
  "luminance": 0.24107
}

Semantic roles & 50–950 ramp

primary
#54971D
secondary
#8D4FC0
accent
#3DEB9C
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54971D

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

Preview Lab → · Contrast checker → · Palette generator →

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