#548C1D#548C1D

#548C1D is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.0% C 0.151 H 133.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#548C1D
RGBrgb(84, 140, 29)
HSLhsl(90, 66%, 33%)
HSVhsv(90, 79%, 55%)
CMYKcmyk(40%, 0%, 79.3%, 45.1%)
CIE-LABlab(52.65, -36.62, 49.40)
CIE-LCHlch(52.65, 61.49, 126.55°)
OKLaboklab(57.96% -0.1031 0.1096)
OKLCHoklch(57.96% 0.151 133.3)
XYZxyz(13.2558, 20.7291, 4.4648)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C1D #551D8C
analogous
#8B8C1D #548C1D #1D8C1D
triadic
#548C1D #1D548C #8C1D54
tetradic
#548C1D #1D8B8C #551D8C #8C1D1D
square
#548C1D #1D8B8C #551D8C #8C1D1D
split-complementary
#548C1D #1D1D8C #8C1D8B
monochromatic
#172708 #365912 #548C1D #72BF28 #91D94A

Accessibility & contrast

On white

4.08
#548C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#548C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548C1D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548C1D#FFFFFF#000000##000000
##548C1D1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #548c1d;
/* rgb */ color: rgb(84, 140, 29);
/* oklch */ color: oklch(58.0% 0.151 133.3);
Tailwind
colors: {
  custom: {
    50: '#89ae63',
    500: '#548c1d',
    950: '#000000',
  },
}
SCSS
$custom: #548c1d;
$custom-light: #89ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#548c1d",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 90.27,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57957,
    "c": 0.15051,
    "h": 133.3
  },
  "luminance": 0.2073
}

Semantic roles & 50–950 ramp

primary
#548C1D
secondary
#8349BC
accent
#3FE995
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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