#548D18#548D18

#548D18 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.154 H 133.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#548D18
RGBrgb(84, 141, 24)
HSLhsl(89, 71%, 32%)
HSVhsv(89, 83%, 55%)
CMYKcmyk(40.4%, 0%, 83%, 44.7%)
CIE-LABlab(52.95, -37.32, 51.23)
CIE-LCHlch(52.95, 63.38, 126.07°)
OKLaboklab(58.19% -0.1053 0.1127)
OKLCHoklch(58.19% 0.154 133.1)
XYZxyz(13.3457, 20.9999, 4.2142)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548D18 #51188D
analogous
#8D8C18 #548D18 #198D18
triadic
#548D18 #18548D #8D1854
tetradic
#548D18 #188D8C #51188D #8D1819
square
#548D18 #188D8C #51188D #8D1819
split-complementary
#548D18 #18198D #8C188D
monochromatic
#162406 #35590F #548D18 #73C121 #92DF41

Accessibility & contrast

On white

4.04
#548D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#548D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548D18
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548D18#FFFFFF#000000##000000
##548D181.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#548778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548d18;
/* rgb */ color: rgb(84, 141, 24);
/* oklch */ color: oklch(58.2% 0.154 133.1);
Tailwind
colors: {
  custom: {
    50: '#8aaf61',
    500: '#548d18',
    950: '#000000',
  },
}
SCSS
$custom: #548d18;
$custom-light: #8aaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#548d18",
  "rgb": {
    "r": 84,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 89.231,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58192,
    "c": 0.15425,
    "h": 133.1
  },
  "luminance": 0.21001
}

Semantic roles & 50–950 ramp

primary
#548D18
secondary
#7F42BF
accent
#3AEE92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #548D18

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

Preview Lab → · Contrast checker → · Palette generator →

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