#548E21#548E21

#548E21 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.5% C 0.151 H 133.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#548E21
RGBrgb(84, 142, 33)
HSLhsl(92, 62%, 34%)
HSVhsv(92, 77%, 56%)
CMYKcmyk(40.8%, 0%, 76.8%, 44.3%)
CIE-LABlab(53.32, -37.25, 48.66)
CIE-LCHlch(53.32, 61.28, 127.43°)
OKLaboklab(58.51% -0.1046 0.1087)
OKLCHoklch(58.51% 0.151 133.9)
XYZxyz(13.6034, 21.3399, 4.8408)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548E21 #5B218E
analogous
#8B8E21 #548E21 #218E25
triadic
#548E21 #21548E #8E2154
tetradic
#548E21 #218B8E #5B218E #8E2521
square
#548E21 #218B8E #5B218E #8E2521
split-complementary
#548E21 #25218E #8E218B
monochromatic
#192B0A #375C15 #548E21 #71C02D #90D752

Accessibility & contrast

On white

3.99
#548E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#548E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548E21
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548E21#FFFFFF#000000##000000
##548E211.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948209
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#548879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #548e21;
/* rgb */ color: rgb(84, 142, 33);
/* oklch */ color: oklch(58.5% 0.151 133.9);
Tailwind
colors: {
  custom: {
    50: '#89af65',
    500: '#548e21',
    950: '#000000',
  },
}
SCSS
$custom: #548e21;
$custom-light: #89af65;
$custom-dark: #000000;
JSON
{
  "hex": "#548e21",
  "rgb": {
    "r": 84,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 91.927,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58511,
    "c": 0.15083,
    "h": 133.9
  },
  "luminance": 0.21341
}

Semantic roles & 50–950 ramp

primary
#548E21
secondary
#8950BA
accent
#42E599
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548E21

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

Preview Lab → · Contrast checker → · Palette generator →

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