#548A20#548A20

#548A20 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.146 H 133.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#548A20
RGBrgb(84, 138, 32)
HSLhsl(91, 62%, 33%)
HSVhsv(91, 77%, 54%)
CMYKcmyk(39.1%, 0%, 76.8%, 45.9%)
CIE-LABlab(52.02, -35.56, 47.76)
CIE-LCHlch(52.02, 59.54, 126.67°)
OKLaboklab(57.45% -0.1001 0.1067)
OKLCHoklch(57.45% 0.146 133.2)
XYZxyz(13.0051, 20.1655, 4.5733)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548A20 #56208A
analogous
#898A20 #548A20 #208A21
triadic
#548A20 #20548A #8A2054
tetradic
#548A20 #20898A #56208A #8A2120
square
#548A20 #20898A #56208A #8A2120
split-complementary
#548A20 #21208A #8A2089
monochromatic
#182709 #365814 #548A20 #72BC2C #91D64E

Accessibility & contrast

On white

4.17
#548A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#548A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548A20
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548A20#FFFFFF#000000##000000
##548A201.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F09
Deuteranopia (green-blind)
#887B2B
Tritanopia (blue-blind)
#548476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #548a20;
/* rgb */ color: rgb(84, 138, 32);
/* oklch */ color: oklch(57.4% 0.146 133.2);
Tailwind
colors: {
  custom: {
    50: '#89ac64',
    500: '#548a20',
    950: '#000000',
  },
}
SCSS
$custom: #548a20;
$custom-light: #89ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#548a20",
  "rgb": {
    "r": 84,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 90.566,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57449,
    "c": 0.14625,
    "h": 133.2
  },
  "luminance": 0.20166
}

Semantic roles & 50–950 ramp

primary
#548A20
secondary
#844DB9
accent
#42E595
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548A20

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

Preview Lab → · Contrast checker → · Palette generator →

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