#548D2A#548D2A

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

Color values

HEX#548D2A
RGBrgb(84, 141, 42)
HSLhsl(95, 54%, 36%)
HSVhsv(95, 70%, 55%)
CMYKcmyk(40.4%, 0%, 70.2%, 44.7%)
CIE-LABlab(53.06, -36.16, 44.93)
CIE-LCHlch(53.06, 57.67, 128.83°)
OKLaboklab(58.32% -0.1009 0.1022)
OKLCHoklch(58.32% 0.144 134.6)
XYZxyz(13.5987, 21.1011, 5.5464)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548D2A #632A8D
analogous
#858D2A #548D2A #2A8D31
triadic
#548D2A #2A548D #8D2A54
tetradic
#548D2A #2A858D #632A8D #8D312A
square
#548D2A #2A858D #632A8D #8D312A
split-complementary
#548D2A #312A8D #8D2A85
monochromatic
#1C2F0E #385E1C #548D2A #70BC38 #90D061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##548D2A#FFFFFF#000000##000000
##548D2A1.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)
#92821B
Deuteranopia (green-blind)
#8B7D33
Tritanopia (blue-blind)
#538879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #548d2a;
/* rgb */ color: rgb(84, 141, 42);
/* oklch */ color: oklch(58.3% 0.144 134.6);
Tailwind
colors: {
  custom: {
    50: '#89af69',
    500: '#548d2a',
    950: '#000000',
  },
}
SCSS
$custom: #548d2a;
$custom-light: #89af69;
$custom-dark: #000000;
JSON
{
  "hex": "#548d2a",
  "rgb": {
    "r": 84,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 94.545,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.14366,
    "h": 134.6
  },
  "luminance": 0.21102
}

Semantic roles & 50–950 ramp

primary
#548D2A
secondary
#905DB6
accent
#4ADD9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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