#548E18#548E18

#548E18 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.5% C 0.155 H 133.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#548E18
RGBrgb(84, 142, 24)
HSLhsl(89, 71%, 33%)
HSVhsv(89, 83%, 56%)
CMYKcmyk(40.8%, 0%, 83.1%, 44.3%)
CIE-LABlab(53.27, -37.75, 51.52)
CIE-LCHlch(53.27, 63.87, 126.23°)
OKLaboklab(58.46% -0.1065 0.1133)
OKLCHoklch(58.46% 0.156 133.2)
XYZxyz(13.4938, 21.2961, 4.2635)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548E18 #52188E
analogous
#8E8D18 #548E18 #198E18
triadic
#548E18 #18548E #8E1854
tetradic
#548E18 #188E8D #52188E #8E1819
square
#548E18 #188E8D #52188E #8E1819
split-complementary
#548E18 #18198E #8D188E
monochromatic
#162506 #355A0F #548E18 #73C221 #92DF41

Accessibility & contrast

On white

3.99
#548E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#548E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548E18
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548E18#FFFFFF#000000##000000
##548E181.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8C7E26
Tritanopia (blue-blind)
#548879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #548e18;
/* rgb */ color: rgb(84, 142, 24);
/* oklch */ color: oklch(58.5% 0.155 133.2);
Tailwind
colors: {
  custom: {
    50: '#8aaf61',
    500: '#548e18',
    950: '#000000',
  },
}
SCSS
$custom: #548e18;
$custom-light: #8aaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#548e18",
  "rgb": {
    "r": 84,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 89.492,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58457,
    "c": 0.1555,
    "h": 133.2
  },
  "luminance": 0.21297
}

Semantic roles & 50–950 ramp

primary
#548E18
secondary
#8042C0
accent
#3AEE92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #548E18

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

Preview Lab → · Contrast checker → · Palette generator →

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