#548A40#548A40

#548A40 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.8% C 0.120 H 137.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#548A40
RGBrgb(84, 138, 64)
HSLhsl(104, 37%, 40%)
HSVhsv(104, 54%, 54%)
CMYKcmyk(39.1%, 0%, 53.6%, 45.9%)
CIE-LABlab(52.32, -32.52, 33.77)
CIE-LCHlch(52.32, 46.89, 133.92°)
OKLaboklab(57.79% -0.0894 0.0807)
OKLCHoklch(57.79% 0.12 137.9)
XYZxyz(13.6696, 20.4312, 8.0729)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548A40 #76408A
analogous
#798A40 #548A40 #408A51
triadic
#548A40 #40548A #8A4054
tetradic
#548A40 #40798A #76408A #8A5140
square
#548A40 #40798A #76408A #8A5140
split-complementary
#548A40 #51408A #8A4079
monochromatic
#213619 #3B602D #548A40 #6FB156 #93C480

Accessibility & contrast

On white

4.13
#548A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#548A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548A40
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548A40#FFFFFF#000000##000000
##548A401.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8039
Deuteranopia (green-blind)
#867B45
Tritanopia (blue-blind)
#518679
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #548a40;
/* rgb */ color: rgb(84, 138, 64);
/* oklch */ color: oklch(57.8% 0.120 137.9);
Tailwind
colors: {
  custom: {
    50: '#87ac77',
    500: '#548a40',
    950: '#000000',
  },
}
SCSS
$custom: #548a40;
$custom-light: #87ac77;
$custom-dark: #000000;
JSON
{
  "hex": "#548a40",
  "rgb": {
    "r": 84,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 103.784,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.57787,
    "c": 0.12042,
    "h": 137.9
  },
  "luminance": 0.20432
}

Semantic roles & 50–950 ramp

primary
#548A40
secondary
#A077AF
accent
#5BCDAE
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #548A40

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

Preview Lab → · Contrast checker → · Palette generator →

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