#548917#548917

#548917 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.1% C 0.150 H 132.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#548917
RGBrgb(84, 137, 23)
HSLhsl(88, 71%, 31%)
HSVhsv(88, 83%, 54%)
CMYKcmyk(38.7%, 0%, 83.2%, 46.3%)
CIE-LABlab(51.65, -35.61, 50.34)
CIE-LCHlch(51.65, 61.66, 125.28°)
OKLaboklab(57.13% -0.1008 0.1106)
OKLCHoklch(57.13% 0.15 132.3)
XYZxyz(12.7563, 19.8374, 3.9673)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548917 #4C1789
analogous
#898517 #548917 #1B8917
triadic
#548917 #175489 #891754
tetradic
#548917 #178985 #4C1789 #89171B
square
#548917 #178985 #4C1789 #89171B
split-complementary
#548917 #171B89 #851789
monochromatic
#142005 #34550E #548917 #74BD20 #93DE3C

Accessibility & contrast

On white

4.23
#548917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#548917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548917
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548917#FFFFFF#000000##000000
##5489171.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#558374
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #548917;
/* rgb */ color: rgb(84, 137, 23);
/* oklch */ color: oklch(57.1% 0.150 132.3);
Tailwind
colors: {
  custom: {
    50: '#89ac60',
    500: '#548917',
    950: '#000000',
  },
}
SCSS
$custom: #548917;
$custom-light: #89ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#548917",
  "rgb": {
    "r": 84,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 87.895,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5713,
    "c": 0.14969,
    "h": 132.3
  },
  "luminance": 0.19838
}

Semantic roles & 50–950 ramp

primary
#548917
secondary
#793FBD
accent
#3AEE8E
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #548917

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

Preview Lab → · Contrast checker → · Palette generator →

#548917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva