#548F17#548F17

#548F17 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.7% C 0.157 H 133.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#548F17
RGBrgb(84, 143, 23)
HSLhsl(90, 72%, 33%)
HSVhsv(90, 84%, 56%)
CMYKcmyk(41.3%, 0%, 83.9%, 43.9%)
CIE-LABlab(53.59, -38.23, 52.09)
CIE-LCHlch(53.59, 64.61, 126.27°)
OKLaboklab(58.72% -0.1078 0.1143)
OKLCHoklch(58.72% 0.157 133.3)
XYZxyz(13.6331, 21.5909, 4.2596)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548F17 #52178F
analogous
#8F8E17 #548F17 #188F17
triadic
#548F17 #17548F #8F1754
tetradic
#548F17 #178F8E #52178F #8F1718
square
#548F17 #178F8E #52178F #8F1718
split-complementary
#548F17 #17188F #8E178F
monochromatic
#162606 #355A0F #548F17 #73C41F #92E040

Accessibility & contrast

On white

3.95
#548F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#548F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548F17
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548F17#FFFFFF#000000##000000
##548F171.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#54897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #548f17;
/* rgb */ color: rgb(84, 143, 23);
/* oklch */ color: oklch(58.7% 0.157 133.3);
Tailwind
colors: {
  custom: {
    50: '#8ab061',
    500: '#548f17',
    950: '#000000',
  },
}
SCSS
$custom: #548f17;
$custom-light: #8ab061;
$custom-dark: #000000;
JSON
{
  "hex": "#548f17",
  "rgb": {
    "r": 84,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 89.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58716,
    "c": 0.15718,
    "h": 133.3
  },
  "luminance": 0.21592
}

Semantic roles & 50–950 ramp

primary
#548F17
secondary
#8041C1
accent
#39EF92
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #548F17

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

Preview Lab → · Contrast checker → · Palette generator →

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