#548B21#548B21

#548B21 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.7% C 0.147 H 133.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#548B21
RGBrgb(84, 139, 33)
HSLhsl(91, 62%, 34%)
HSVhsv(91, 76%, 55%)
CMYKcmyk(39.6%, 0%, 76.3%, 45.5%)
CIE-LABlab(52.35, -35.93, 47.72)
CIE-LCHlch(52.35, 59.74, 126.98°)
OKLaboklab(57.72% -0.101 0.1067)
OKLCHoklch(57.72% 0.147 133.4)
XYZxyz(13.1631, 20.4592, 4.6940)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548B21 #58218B
analogous
#898B21 #548B21 #218B23
triadic
#548B21 #21548B #8B2154
tetradic
#548B21 #21898B #58218B #8B2321
square
#548B21 #21898B #58218B #8B2321
split-complementary
#548B21 #23218B #8B2189
monochromatic
#18280A #365A15 #548B21 #72BC2D #91D651

Accessibility & contrast

On white

4.12
#548B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##548B21#FFFFFF#000000##000000
##548B211.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800B
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#548577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #548b21;
/* rgb */ color: rgb(84, 139, 33);
/* oklch */ color: oklch(57.7% 0.147 133.4);
Tailwind
colors: {
  custom: {
    50: '#89ad64',
    500: '#548b21',
    950: '#000000',
  },
}
SCSS
$custom: #548b21;
$custom-light: #89ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#548b21",
  "rgb": {
    "r": 84,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 91.132,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57719,
    "c": 0.14696,
    "h": 133.4
  },
  "luminance": 0.2046
}

Semantic roles & 50–950 ramp

primary
#548B21
secondary
#864FB9
accent
#43E597
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548B21

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

Preview Lab → · Contrast checker → · Palette generator →

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