#548D20#548D20

#548D20 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#548D20
RGBrgb(84, 141, 32)
HSLhsl(91, 63%, 34%)
HSVhsv(91, 77%, 55%)
CMYKcmyk(40.4%, 0%, 77.3%, 44.7%)
CIE-LABlab(52.99, -36.88, 48.70)
CIE-LCHlch(52.99, 61.09, 127.13°)
OKLaboklab(58.24% -0.1036 0.1086)
OKLCHoklch(58.24% 0.15 133.7)
XYZxyz(13.4415, 21.0382, 4.7188)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548D20 #59208D
analogous
#8B8D20 #548D20 #208D22
triadic
#548D20 #20548D #8D2054
tetradic
#548D20 #208B8D #59208D #8D2220
square
#548D20 #208B8D #59208D #8D2220
split-complementary
#548D20 #22208D #8D208B
monochromatic
#192909 #365B15 #548D20 #72BF2B #91D750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##548D20#FFFFFF#000000##000000
##548D201.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)
#938107
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#548778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548d20;
/* rgb */ color: rgb(84, 141, 32);
/* oklch */ color: oklch(58.2% 0.150 133.7);
Tailwind
colors: {
  custom: {
    50: '#89af64',
    500: '#548d20',
    950: '#000000',
  },
}
SCSS
$custom: #548d20;
$custom-light: #89af64;
$custom-dark: #000000;
JSON
{
  "hex": "#548d20",
  "rgb": {
    "r": 84,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 91.376,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5824,
    "c": 0.15013,
    "h": 133.7
  },
  "luminance": 0.21039
}

Semantic roles & 50–950 ramp

primary
#548D20
secondary
#874EBA
accent
#42E698
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548D20

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

Preview Lab → · Contrast checker → · Palette generator →

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