#548020#548020

#548020 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.8% C 0.133 H 131.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#548020
RGBrgb(84, 128, 32)
HSLhsl(88, 60%, 31%)
HSVhsv(88, 75%, 50%)
CMYKcmyk(34.4%, 0%, 75%, 49.8%)
CIE-LABlab(48.79, -31.01, 44.59)
CIE-LCHlch(48.79, 54.31, 124.82°)
OKLaboklab(54.81% -0.0877 0.1)
OKLCHoklch(54.81% 0.133 131.3)
XYZxyz(11.6359, 17.4270, 4.1169)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548020 #4C2080
analogous
#807C20 #548020 #248020
triadic
#548020 #205480 #802054
tetradic
#548020 #20807C #4C2080 #802024
square
#548020 #20807C #4C2080 #802024
split-complementary
#548020 #202480 #7C2080
monochromatic
#141E08 #344F14 #548020 #74B12C #93D149

Accessibility & contrast

On white

4.68
#548020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#548020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #548020
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548020#FFFFFF#000000##FFFFFF
##5480201.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#567A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #548020;
/* rgb */ color: rgb(84, 128, 32);
/* oklch */ color: oklch(54.8% 0.133 131.3);
Tailwind
colors: {
  custom: {
    50: '#88a562',
    500: '#548020',
    950: '#000000',
  },
}
SCSS
$custom: #548020;
$custom-light: #88a562;
$custom-dark: #000000;
JSON
{
  "hex": "#548020",
  "rgb": {
    "r": 84,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 87.5,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54811,
    "c": 0.13306,
    "h": 131.3
  },
  "luminance": 0.17427
}

Semantic roles & 50–950 ramp

primary
#548020
secondary
#7949B3
accent
#45E38D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #548020

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

Preview Lab → · Contrast checker → · Palette generator →

#548020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva