#548018#548018

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

Color values

HEX#548018
RGBrgb(84, 128, 24)
HSLhsl(85, 68%, 30%)
HSVhsv(85, 81%, 50%)
CMYKcmyk(34.4%, 0%, 81.3%, 49.8%)
CIE-LABlab(48.75, -31.49, 47.37)
CIE-LCHlch(48.75, 56.88, 123.62°)
OKLaboklab(54.76% -0.0896 0.1045)
OKLCHoklch(54.76% 0.138 130.6)
XYZxyz(11.5401, 17.3887, 3.6123)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548018 #441880
analogous
#807818 #548018 #208018
triadic
#548018 #185480 #801854
tetradic
#548018 #188078 #441880 #801820
square
#548018 #188078 #441880 #801820
split-complementary
#548018 #182080 #781880
monochromatic
#111A05 #324C0E #548018 #76B422 #96DA39

Accessibility & contrast

On white

4.69
#548018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#548018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #548018
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548018#FFFFFF#000000##FFFFFF
##5480181.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#567A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #548018;
/* rgb */ color: rgb(84, 128, 24);
/* oklch */ color: oklch(54.8% 0.138 130.6);
Tailwind
colors: {
  custom: {
    50: '#88a55f',
    500: '#548018',
    950: '#000000',
  },
}
SCSS
$custom: #548018;
$custom-light: #88a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#548018",
  "rgb": {
    "r": 84,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 85.385,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54757,
    "c": 0.13772,
    "h": 130.6
  },
  "luminance": 0.17389
}

Semantic roles & 50–950 ramp

primary
#548018
secondary
#7140B4
accent
#3DEB86
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #548018

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

Preview Lab → · Contrast checker → · Palette generator →

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