#548D40#548D40

#548D40 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.6% C 0.125 H 138.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#548D40
RGBrgb(84, 141, 64)
HSLhsl(104, 38%, 40%)
HSVhsv(104, 55%, 55%)
CMYKcmyk(40.4%, 0%, 54.6%, 44.7%)
CIE-LABlab(53.28, -33.90, 34.93)
CIE-LCHlch(53.28, 48.67, 134.15°)
OKLaboklab(58.57% -0.0931 0.0832)
OKLCHoklch(58.57% 0.125 138.2)
XYZxyz(14.1060, 21.3040, 8.2183)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548D40 #79408D
analogous
#7A8D40 #548D40 #408D53
triadic
#548D40 #40548D #8D4054
tetradic
#548D40 #407A8D #79408D #8D5340
square
#548D40 #407A8D #79408D #8D5340
split-complementary
#548D40 #53408D #8D407A
monochromatic
#22391A #3B632D #548D40 #6FB357 #93C681

Accessibility & contrast

On white

3.99
#548D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#548D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548D40
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548D40#FFFFFF#000000##000000
##548D401.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918239
Deuteranopia (green-blind)
#897D45
Tritanopia (blue-blind)
#51897C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #548d40;
/* rgb */ color: rgb(84, 141, 64);
/* oklch */ color: oklch(58.6% 0.125 138.2);
Tailwind
colors: {
  custom: {
    50: '#88af77',
    500: '#548d40',
    950: '#000000',
  },
}
SCSS
$custom: #548d40;
$custom-light: #88af77;
$custom-dark: #000000;
JSON
{
  "hex": "#548d40",
  "rgb": {
    "r": 84,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 104.416,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5857,
    "c": 0.12492,
    "h": 138.2
  },
  "luminance": 0.21305
}

Semantic roles & 50–950 ramp

primary
#548D40
secondary
#A278B0
accent
#5ACEB0
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #548D40

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

Preview Lab → · Contrast checker → · Palette generator →

#548D40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva