#548918#548918

#548918 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.1% C 0.149 H 132.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#548918
RGBrgb(84, 137, 24)
HSLhsl(88, 70%, 32%)
HSVhsv(88, 82%, 54%)
CMYKcmyk(38.7%, 0%, 82.5%, 46.3%)
CIE-LABlab(51.66, -35.56, 50.05)
CIE-LCHlch(51.66, 61.40, 125.40°)
OKLaboklab(57.14% -0.1006 0.1102)
OKLCHoklch(57.14% 0.149 132.4)
XYZxyz(12.7665, 19.8415, 4.0211)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548918 #4D1889
analogous
#898618 #548918 #1B8918
triadic
#548918 #185489 #891854
tetradic
#548918 #188986 #4D1889 #89181B
square
#548918 #188986 #4D1889 #89181B
split-complementary
#548918 #181B89 #861889
monochromatic
#142106 #34550F #548918 #74BD21 #93DD3E

Accessibility & contrast

On white

4.23
#548918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#548918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548918
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548918#FFFFFF#000000##000000
##5489181.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#558374
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #548918;
/* rgb */ color: rgb(84, 137, 24);
/* oklch */ color: oklch(57.1% 0.149 132.4);
Tailwind
colors: {
  custom: {
    50: '#89ac60',
    500: '#548918',
    950: '#000000',
  },
}
SCSS
$custom: #548918;
$custom-light: #89ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#548918",
  "rgb": {
    "r": 84,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 88.142,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57135,
    "c": 0.14923,
    "h": 132.4
  },
  "luminance": 0.19842
}

Semantic roles & 50–950 ramp

primary
#548918
secondary
#7B40BD
accent
#3BED8E
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #548918

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

Preview Lab → · Contrast checker → · Palette generator →

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