#54971E#54971E

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

Color values

HEX#54971E
RGBrgb(84, 151, 30)
HSLhsl(93, 67%, 35%)
HSVhsv(93, 80%, 59%)
CMYKcmyk(44.4%, 0%, 80.1%, 40.8%)
CIE-LABlab(56.20, -41.26, 52.42)
CIE-LCHlch(56.20, 66.71, 128.21°)
OKLaboklab(60.87% -0.1156 0.1161)
OKLCHoklch(60.87% 0.164 134.9)
XYZxyz(14.9568, 24.1109, 5.0938)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54971E #611E97
analogous
#90971E #54971E #1E9724
triadic
#54971E #1E5497 #971E54
tetradic
#54971E #1E9097 #611E97 #97241E
square
#54971E #1E9097 #611E97 #97241E
split-complementary
#54971E #241E97 #971E90
monochromatic
#1B310A #386414 #54971E #70CA28 #90DD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54971E#FFFFFF#000000##000000
##54971E1.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: #54971e;
/* rgb */ color: rgb(84, 151, 30);
/* oklch */ color: oklch(60.9% 0.164 134.9);
Tailwind
colors: {
  custom: {
    50: '#8ab665',
    500: '#54971e',
    950: '#000000',
  },
}
SCSS
$custom: #54971e;
$custom-light: #8ab665;
$custom-dark: #000000;
JSON
{
  "hex": "#54971e",
  "rgb": {
    "r": 84,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 93.223,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60865,
    "c": 0.16382,
    "h": 134.9
  },
  "luminance": 0.24112
}

Semantic roles & 50–950 ramp

primary
#54971E
secondary
#8E51C0
accent
#3EEA9D
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54971E

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

Preview Lab → · Contrast checker → · Palette generator →

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