#548B18#548B18

#548B18 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.7% C 0.152 H 132.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#548B18
RGBrgb(84, 139, 24)
HSLhsl(89, 71%, 32%)
HSVhsv(89, 83%, 55%)
CMYKcmyk(39.6%, 0%, 82.7%, 45.5%)
CIE-LABlab(52.30, -36.44, 50.64)
CIE-LCHlch(52.30, 62.39, 125.74°)
OKLaboklab(57.66% -0.103 0.1114)
OKLCHoklch(57.66% 0.152 132.7)
XYZxyz(13.0535, 20.4154, 4.1168)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548B18 #4F188B
analogous
#8B8918 #548B18 #1A8B18
triadic
#548B18 #18548B #8B1854
tetradic
#548B18 #188B89 #4F188B #8B181A
square
#548B18 #188B89 #4F188B #8B181A
split-complementary
#548B18 #181A8B #89188B
monochromatic
#152306 #34570F #548B18 #74BF21 #92DE3F

Accessibility & contrast

On white

4.13
#548B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#548B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548B18
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548B18#FFFFFF#000000##000000
##548B181.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#558576
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #548b18;
/* rgb */ color: rgb(84, 139, 24);
/* oklch */ color: oklch(57.7% 0.152 132.7);
Tailwind
colors: {
  custom: {
    50: '#89ad60',
    500: '#548b18',
    950: '#000000',
  },
}
SCSS
$custom: #548b18;
$custom-light: #89ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#548b18",
  "rgb": {
    "r": 84,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 88.696,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57664,
    "c": 0.15174,
    "h": 132.7
  },
  "luminance": 0.20416
}

Semantic roles & 50–950 ramp

primary
#548B18
secondary
#7D40BE
accent
#3AED90
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #548B18

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

Preview Lab → · Contrast checker → · Palette generator →

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