#548C17#548C17

#548C17 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.153 H 132.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#548C17
RGBrgb(84, 140, 23)
HSLhsl(89, 72%, 32%)
HSVhsv(89, 84%, 55%)
CMYKcmyk(40%, 0%, 83.6%, 45.1%)
CIE-LABlab(52.62, -36.93, 51.22)
CIE-LCHlch(52.62, 63.14, 125.79°)
OKLaboklab(57.92% -0.1044 0.1125)
OKLCHoklch(57.92% 0.153 132.9)
XYZxyz(13.1887, 20.7022, 4.1115)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C17 #4F178C
analogous
#8C8A17 #548C17 #1A8C17
triadic
#548C17 #17548C #8C1754
tetradic
#548C17 #178C8A #4F178C #8C171A
square
#548C17 #178C8A #4F178C #8C171A
split-complementary
#548C17 #171A8C #8A178C
monochromatic
#152306 #34570E #548C17 #74C120 #92DF3E

Accessibility & contrast

On white

4.09
#548C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#548C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548C17
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548C17#FFFFFF#000000##000000
##548C171.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#548677
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548c17;
/* rgb */ color: rgb(84, 140, 23);
/* oklch */ color: oklch(57.9% 0.153 132.9);
Tailwind
colors: {
  custom: {
    50: '#8aae60',
    500: '#548c17',
    950: '#000000',
  },
}
SCSS
$custom: #548c17;
$custom-light: #8aae60;
$custom-dark: #000000;
JSON
{
  "hex": "#548c17",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 88.718,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57923,
    "c": 0.15344,
    "h": 132.9
  },
  "luminance": 0.20703
}

Semantic roles & 50–950 ramp

primary
#548C17
secondary
#7D3FBF
accent
#39EF90
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #548C17

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

Preview Lab → · Contrast checker → · Palette generator →

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