#548518#548518

#548518 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.1% C 0.144 H 131.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#548518
RGBrgb(84, 133, 24)
HSLhsl(87, 69%, 31%)
HSVhsv(87, 82%, 52%)
CMYKcmyk(36.8%, 0%, 82%, 47.8%)
CIE-LABlab(50.36, -33.78, 48.86)
CIE-LCHlch(50.36, 59.40, 124.65°)
OKLaboklab(56.08% -0.0958 0.1077)
OKLCHoklch(56.08% 0.144 131.7)
XYZxyz(12.2084, 18.7253, 3.8351)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548518 #491885
analogous
#857F18 #548518 #1E8518
triadic
#548518 #185485 #851854
tetradic
#548518 #18857F #491885 #85181E
square
#548518 #18857F #491885 #85181E
split-complementary
#548518 #181E85 #7F1885
monochromatic
#131D05 #33510F #548518 #75B921 #94DC3C

Accessibility & contrast

On white

4.43
#548518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#548518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548518
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548518#FFFFFF#000000##000000
##5485181.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#847724
Tritanopia (blue-blind)
#557F71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #548518;
/* rgb */ color: rgb(84, 133, 24);
/* oklch */ color: oklch(56.1% 0.144 131.7);
Tailwind
colors: {
  custom: {
    50: '#89a95f',
    500: '#548518',
    950: '#000000',
  },
}
SCSS
$custom: #548518;
$custom-light: #89a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#548518",
  "rgb": {
    "r": 84,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 86.972,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56078,
    "c": 0.14415,
    "h": 131.7
  },
  "luminance": 0.18726
}

Semantic roles & 50–950 ramp

primary
#548518
secondary
#7640B9
accent
#3CEC8B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #548518

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

Preview Lab → · Contrast checker → · Palette generator →

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