#548F20#548F20

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

Color values

HEX#548F20
RGBrgb(84, 143, 32)
HSLhsl(92, 63%, 34%)
HSVhsv(92, 78%, 56%)
CMYKcmyk(41.3%, 0%, 77.6%, 43.9%)
CIE-LABlab(53.64, -37.75, 49.32)
CIE-LCHlch(53.64, 62.11, 127.43°)
OKLaboklab(58.77% -0.106 0.1099)
OKLCHoklch(58.77% 0.153 134)
XYZxyz(13.7391, 21.6333, 4.8179)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548F20 #5B208F
analogous
#8C8F20 #548F20 #208F24
triadic
#548F20 #20548F #8F2054
tetradic
#548F20 #208C8F #5B208F #8F2420
square
#548F20 #208C8F #5B208F #8F2420
split-complementary
#548F20 #24208F #8F208C
monochromatic
#192B0A #375D15 #548F20 #71C12B #90D851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##548F20#FFFFFF#000000##000000
##548F201.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)
#958305
Deuteranopia (green-blind)
#8D7E2C
Tritanopia (blue-blind)
#54897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #548f20;
/* rgb */ color: rgb(84, 143, 32);
/* oklch */ color: oklch(58.8% 0.153 134.0);
Tailwind
colors: {
  custom: {
    50: '#89b064',
    500: '#548f20',
    950: '#000000',
  },
}
SCSS
$custom: #548f20;
$custom-light: #89b064;
$custom-dark: #000000;
JSON
{
  "hex": "#548f20",
  "rgb": {
    "r": 84,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 91.892,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58768,
    "c": 0.1527,
    "h": 134
  },
  "luminance": 0.21634
}

Semantic roles & 50–950 ramp

primary
#548F20
secondary
#894FBB
accent
#41E699
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548F20

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

Preview Lab → · Contrast checker → · Palette generator →

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