#548D2C#548D2C

#548D2C is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.3% C 0.142 H 134.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#548D2C
RGBrgb(84, 141, 44)
HSLhsl(95, 52%, 36%)
HSVhsv(95, 69%, 55%)
CMYKcmyk(40.4%, 0%, 68.8%, 44.7%)
CIE-LABlab(53.08, -35.99, 44.11)
CIE-LCHlch(53.08, 56.93, 129.22°)
OKLaboklab(58.34% -0.1003 0.1008)
OKLCHoklch(58.34% 0.142 134.9)
XYZxyz(13.6354, 21.1157, 5.7397)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548D2C #652C8D
analogous
#858D2C #548D2C #2C8D35
triadic
#548D2C #2C548D #8D2C54
tetradic
#548D2C #2C858D #652C8D #8D352C
square
#548D2C #2C858D #652C8D #8D352C
split-complementary
#548D2C #352C8D #8D2C85
monochromatic
#1C300F #385E1D #548D2C #70BC3B #90CF65

Accessibility & contrast

On white

4.02
#548D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#548D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548D2C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548D2C#FFFFFF#000000##000000
##548D2C1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821E
Deuteranopia (green-blind)
#8A7D34
Tritanopia (blue-blind)
#538879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #548d2c;
/* rgb */ color: rgb(84, 141, 44);
/* oklch */ color: oklch(58.3% 0.142 134.9);
Tailwind
colors: {
  custom: {
    50: '#89af6a',
    500: '#548d2c',
    950: '#000000',
  },
}
SCSS
$custom: #548d2c;
$custom-light: #89af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#548d2c",
  "rgb": {
    "r": 84,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 95.258,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58336,
    "c": 0.14221,
    "h": 134.9
  },
  "luminance": 0.21116
}

Semantic roles & 50–950 ramp

primary
#548D2C
secondary
#9260B5
accent
#4CDCA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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