#548817#548817

#548817 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.9% C 0.148 H 132.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#548817
RGBrgb(84, 136, 23)
HSLhsl(88, 71%, 31%)
HSVhsv(88, 83%, 53%)
CMYKcmyk(38.2%, 0%, 83.1%, 46.7%)
CIE-LABlab(51.33, -35.17, 50.04)
CIE-LCHlch(51.33, 61.17, 125.10°)
OKLaboklab(56.87% -0.0996 0.11)
OKLCHoklch(56.87% 0.148 132.2)
XYZxyz(12.6148, 19.5544, 3.9202)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548817 #4B1788
analogous
#888317 #548817 #1B8817
triadic
#548817 #175488 #881754
tetradic
#548817 #178883 #4B1788 #88171B
square
#548817 #178883 #4B1788 #88171B
split-complementary
#548817 #171B88 #831788
monochromatic
#131F05 #34540E #548817 #74BC20 #93DE3B

Accessibility & contrast

On white

4.28
#548817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#548817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548817
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548817#FFFFFF#000000##000000
##5488171.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#558274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #548817;
/* rgb */ color: rgb(84, 136, 23);
/* oklch */ color: oklch(56.9% 0.148 132.2);
Tailwind
colors: {
  custom: {
    50: '#89ab5f',
    500: '#548817',
    950: '#000000',
  },
}
SCSS
$custom: #548817;
$custom-light: #89ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#548817",
  "rgb": {
    "r": 84,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 87.611,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56866,
    "c": 0.14843,
    "h": 132.2
  },
  "luminance": 0.19555
}

Semantic roles & 50–950 ramp

primary
#548817
secondary
#783FBC
accent
#3AEE8D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #548817

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

Preview Lab → · Contrast checker → · Palette generator →

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