#548240#548240

#548240 is a mid, moderate green. Relative luminance 0.182; OKLCH L 55.7% C 0.108 H 137.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#548240
RGBrgb(84, 130, 64)
HSLhsl(102, 34%, 38%)
HSVhsv(102, 51%, 51%)
CMYKcmyk(35.4%, 0%, 50.8%, 49%)
CIE-LABlab(49.76, -28.75, 30.66)
CIE-LCHlch(49.76, 42.03, 133.16°)
OKLaboklab(55.7% -0.079 0.0738)
OKLCHoklch(55.7% 0.108 137)
XYZxyz(12.5638, 18.2197, 7.7043)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548240 #6E4082
analogous
#758240 #548240 #40824D
triadic
#548240 #405482 #824054
tetradic
#548240 #407582 #6E4082 #824D40
square
#548240 #407582 #6E4082 #824D40
split-complementary
#548240 #4D4082 #824075
monochromatic
#1F3018 #3A592C #548240 #6FAB54 #91BF7D

Accessibility & contrast

On white

4.52
#548240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#548240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548240
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548240#FFFFFF#000000##000000
##5482401.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7F7544
Tritanopia (blue-blind)
#527E73
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #548240;
/* rgb */ color: rgb(84, 130, 64);
/* oklch */ color: oklch(55.7% 0.108 137.0);
Tailwind
colors: {
  custom: {
    50: '#87a676',
    500: '#548240',
    950: '#000000',
  },
}
SCSS
$custom: #548240;
$custom-light: #87a676;
$custom-dark: #000000;
JSON
{
  "hex": "#548240",
  "rgb": {
    "r": 84,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 101.818,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.55704,
    "c": 0.10814,
    "h": 137
  },
  "luminance": 0.1822
}

Semantic roles & 50–950 ramp

primary
#548240
secondary
#9974AA
accent
#5ECAA9
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #548240

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

Preview Lab → · Contrast checker → · Palette generator →

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