#548B40#548B40

#548B40 is a mid, vivid green. Relative luminance 0.207; OKLCH L 58.0% C 0.122 H 138.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#548B40
RGBrgb(84, 139, 64)
HSLhsl(104, 37%, 40%)
HSVhsv(104, 54%, 55%)
CMYKcmyk(39.6%, 0%, 54%, 45.5%)
CIE-LABlab(52.64, -32.98, 34.16)
CIE-LCHlch(52.64, 47.49, 134.00°)
OKLaboklab(58.05% -0.0906 0.0816)
OKLCHoklch(58.05% 0.122 138)
XYZxyz(13.8138, 20.7195, 8.1209)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548B40 #77408B
analogous
#7A8B40 #548B40 #408B52
triadic
#548B40 #40548B #8B4054
tetradic
#548B40 #407A8B #77408B #8B5240
square
#548B40 #407A8B #77408B #8B5240
split-complementary
#548B40 #52408B #8B407A
monochromatic
#213719 #3B612D #548B40 #6FB257 #93C581

Accessibility & contrast

On white

4.08
#548B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#548B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548B40
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548B40#FFFFFF#000000##000000
##548B401.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8139
Deuteranopia (green-blind)
#877C45
Tritanopia (blue-blind)
#51877A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548b40;
/* rgb */ color: rgb(84, 139, 64);
/* oklch */ color: oklch(58.0% 0.122 138.0);
Tailwind
colors: {
  custom: {
    50: '#87ad77',
    500: '#548b40',
    950: '#000000',
  },
}
SCSS
$custom: #548b40;
$custom-light: #87ad77;
$custom-dark: #000000;
JSON
{
  "hex": "#548b40",
  "rgb": {
    "r": 84,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 104,
    "s": 36.946,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58048,
    "c": 0.12193,
    "h": 138
  },
  "luminance": 0.2072
}

Semantic roles & 50–950 ramp

primary
#548B40
secondary
#A078AF
accent
#5BCDAF
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #548B40

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

Preview Lab → · Contrast checker → · Palette generator →

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