#548F21#548F21

#548F21 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.8% C 0.152 H 134.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#548F21
RGBrgb(84, 143, 33)
HSLhsl(92, 63%, 35%)
HSVhsv(92, 77%, 56%)
CMYKcmyk(41.3%, 0%, 76.9%, 43.9%)
CIE-LABlab(53.64, -37.68, 48.98)
CIE-LCHlch(53.64, 61.80, 127.57°)
OKLaboklab(58.77% -0.1057 0.1094)
OKLCHoklch(58.77% 0.152 134)
XYZxyz(13.7529, 21.6388, 4.8906)
Luminance0.2164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548F21 #5C218F
analogous
#8B8F21 #548F21 #218F25
triadic
#548F21 #21548F #8F2154
tetradic
#548F21 #218B8F #5C218F #8F2521
square
#548F21 #218B8F #5C218F #8F2521
split-complementary
#548F21 #25218F #8F218B
monochromatic
#1A2C0A #375D16 #548F21 #71C12C #90D753

Accessibility & contrast

On white

3.94
#548F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#548F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548F21
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548F21#FFFFFF#000000##000000
##548F211.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958308
Deuteranopia (green-blind)
#8D7E2C
Tritanopia (blue-blind)
#53897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #548f21;
/* rgb */ color: rgb(84, 143, 33);
/* oklch */ color: oklch(58.8% 0.152 134.0);
Tailwind
colors: {
  custom: {
    50: '#89b065',
    500: '#548f21',
    950: '#000000',
  },
}
SCSS
$custom: #548f21;
$custom-light: #89b065;
$custom-dark: #000000;
JSON
{
  "hex": "#548f21",
  "rgb": {
    "r": 84,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 92.182,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58774,
    "c": 0.15213,
    "h": 134
  },
  "luminance": 0.2164
}

Semantic roles & 50–950 ramp

primary
#548F21
secondary
#8A51BB
accent
#42E69A
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548F21

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

Preview Lab → · Contrast checker → · Palette generator →

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