#54971C#54971C

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

Color values

HEX#54971C
RGBrgb(84, 151, 28)
HSLhsl(93, 69%, 35%)
HSVhsv(93, 81%, 59%)
CMYKcmyk(44.4%, 0%, 81.5%, 40.8%)
CIE-LABlab(56.19, -41.37, 53.02)
CIE-LCHlch(56.19, 67.25, 127.96°)
OKLaboklab(60.85% -0.116 0.1171)
OKLCHoklch(60.85% 0.165 134.7)
XYZxyz(14.9321, 24.1010, 4.9635)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54971C #5F1C97
analogous
#91971C #54971C #1C9722
triadic
#54971C #1C5497 #971C54
tetradic
#54971C #1C9197 #5F1C97 #97221C
square
#54971C #1C9197 #5F1C97 #97221C
split-complementary
#54971C #221C97 #971C91
monochromatic
#1B3009 #376312 #54971C #71CB26 #90DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #54971c;
/* rgb */ color: rgb(84, 151, 28);
/* oklch */ color: oklch(60.9% 0.165 134.7);
Tailwind
colors: {
  custom: {
    50: '#8bb664',
    500: '#54971c',
    950: '#000000',
  },
}
SCSS
$custom: #54971c;
$custom-light: #8bb664;
$custom-dark: #000000;
JSON
{
  "hex": "#54971c",
  "rgb": {
    "r": 84,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 92.683,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60854,
    "c": 0.16479,
    "h": 134.7
  },
  "luminance": 0.24102
}

Semantic roles & 50–950 ramp

primary
#54971C
secondary
#8D4EC1
accent
#3CEC9C
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54971C

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

Preview Lab → · Contrast checker → · Palette generator →

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