#548D21#548D21

#548D21 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.150 H 133.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#548D21
RGBrgb(84, 141, 33)
HSLhsl(92, 62%, 34%)
HSVhsv(92, 77%, 55%)
CMYKcmyk(40.4%, 0%, 76.6%, 44.7%)
CIE-LABlab(53.00, -36.81, 48.35)
CIE-LCHlch(53.00, 60.77, 127.28°)
OKLaboklab(58.25% -0.1034 0.1081)
OKLCHoklch(58.25% 0.15 133.7)
XYZxyz(13.4553, 21.0437, 4.7914)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548D21 #5A218D
analogous
#8A8D21 #548D21 #218D24
triadic
#548D21 #21548D #8D2154
tetradic
#548D21 #218A8D #5A218D #8D2421
square
#548D21 #218A8D #5A218D #8D2421
split-complementary
#548D21 #24218D #8D218A
monochromatic
#192A0A #365B15 #548D21 #72BF2D #91D652

Accessibility & contrast

On white

4.03
#548D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#548D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548D21
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548D21#FFFFFF#000000##000000
##548D211.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938109
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#548778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #548d21;
/* rgb */ color: rgb(84, 141, 33);
/* oklch */ color: oklch(58.2% 0.150 133.7);
Tailwind
colors: {
  custom: {
    50: '#89af65',
    500: '#548d21',
    950: '#000000',
  },
}
SCSS
$custom: #548d21;
$custom-light: #89af65;
$custom-dark: #000000;
JSON
{
  "hex": "#548d21",
  "rgb": {
    "r": 84,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 91.667,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.14955,
    "h": 133.7
  },
  "luminance": 0.21044
}

Semantic roles & 50–950 ramp

primary
#548D21
secondary
#8850BA
accent
#43E598
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548D21

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

Preview Lab → · Contrast checker → · Palette generator →

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