#548F18#548F18

#548F18 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.7% C 0.157 H 133.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#548F18
RGBrgb(84, 143, 24)
HSLhsl(90, 71%, 33%)
HSVhsv(90, 83%, 56%)
CMYKcmyk(41.3%, 0%, 83.2%, 43.9%)
CIE-LABlab(53.59, -38.18, 51.81)
CIE-LCHlch(53.59, 64.36, 126.39°)
OKLaboklab(58.72% -0.1077 0.1139)
OKLCHoklch(58.72% 0.157 133.4)
XYZxyz(13.6433, 21.5950, 4.3134)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548F18 #53188F
analogous
#8F8E18 #548F18 #198F18
triadic
#548F18 #18548F #8F1854
tetradic
#548F18 #188F8E #53188F #8F1819
square
#548F18 #188F8E #53188F #8F1819
split-complementary
#548F18 #18198F #8E188F
monochromatic
#162606 #355B0F #548F18 #73C321 #91DF42

Accessibility & contrast

On white

3.95
#548F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#548F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548F18
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548F18#FFFFFF#000000##000000
##548F181.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#54897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #548f18;
/* rgb */ color: rgb(84, 143, 24);
/* oklch */ color: oklch(58.7% 0.157 133.4);
Tailwind
colors: {
  custom: {
    50: '#8ab061',
    500: '#548f18',
    950: '#000000',
  },
}
SCSS
$custom: #548f18;
$custom-light: #8ab061;
$custom-dark: #000000;
JSON
{
  "hex": "#548f18",
  "rgb": {
    "r": 84,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 89.748,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58721,
    "c": 0.15674,
    "h": 133.4
  },
  "luminance": 0.21596
}

Semantic roles & 50–950 ramp

primary
#548F18
secondary
#8143C0
accent
#3AEE93
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #548F18

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

Preview Lab → · Contrast checker → · Palette generator →

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