#548C18#548C18

#548C18 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.153 H 132.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#548C18
RGBrgb(84, 140, 24)
HSLhsl(89, 71%, 32%)
HSVhsv(89, 83%, 55%)
CMYKcmyk(40%, 0%, 82.9%, 45.1%)
CIE-LABlab(52.63, -36.88, 50.93)
CIE-LCHlch(52.63, 62.88, 125.91°)
OKLaboklab(57.93% -0.1042 0.1121)
OKLCHoklch(57.93% 0.153 132.9)
XYZxyz(13.1989, 20.7063, 4.1652)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C18 #50188C
analogous
#8C8A18 #548C18 #1A8C18
triadic
#548C18 #18548C #8C1854
tetradic
#548C18 #188C8A #50188C #8C181A
square
#548C18 #188C8A #50188C #8C181A
split-complementary
#548C18 #181A8C #8A188C
monochromatic
#152406 #35580F #548C18 #73C021 #92DE40

Accessibility & contrast

On white

4.08
#548C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#548C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548C18
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548C18#FFFFFF#000000##000000
##548C181.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#548677
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548c18;
/* rgb */ color: rgb(84, 140, 24);
/* oklch */ color: oklch(57.9% 0.153 132.9);
Tailwind
colors: {
  custom: {
    50: '#8aae60',
    500: '#548c18',
    950: '#000000',
  },
}
SCSS
$custom: #548c18;
$custom-light: #8aae60;
$custom-dark: #000000;
JSON
{
  "hex": "#548c18",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 88.966,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57928,
    "c": 0.153,
    "h": 132.9
  },
  "luminance": 0.20707
}

Semantic roles & 50–950 ramp

primary
#548C18
secondary
#7E41BF
accent
#3AED91
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #548C18

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

Preview Lab → · Contrast checker → · Palette generator →

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