#548C2A#548C2A

#548C2A is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.1% C 0.142 H 134.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#548C2A
RGBrgb(84, 140, 42)
HSLhsl(94, 54%, 36%)
HSVhsv(94, 70%, 55%)
CMYKcmyk(40%, 0%, 70%, 45.1%)
CIE-LABlab(52.74, -35.72, 44.59)
CIE-LCHlch(52.74, 57.14, 128.69°)
OKLaboklab(58.06% -0.0997 0.1015)
OKLCHoklch(58.06% 0.142 134.5)
XYZxyz(13.4519, 20.8075, 5.4975)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C2A #622A8C
analogous
#858C2A #548C2A #2A8C31
triadic
#548C2A #2A548C #8C2A54
tetradic
#548C2A #2A858C #622A8C #8C312A
square
#548C2A #2A858C #622A8C #8C312A
split-complementary
#548C2A #312A8C #8C2A85
monochromatic
#1C2E0E #385D1C #548C2A #70BB38 #90D061

Accessibility & contrast

On white

4.07
#548C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#548C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548C2A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548C2A#FFFFFF#000000##000000
##548C2A1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811C
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#538778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548c2a;
/* rgb */ color: rgb(84, 140, 42);
/* oklch */ color: oklch(58.1% 0.142 134.5);
Tailwind
colors: {
  custom: {
    50: '#89ae69',
    500: '#548c2a',
    950: '#000000',
  },
}
SCSS
$custom: #548c2a;
$custom-light: #89ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#548c2a",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 94.286,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58055,
    "c": 0.14232,
    "h": 134.5
  },
  "luminance": 0.20808
}

Semantic roles & 50–950 ramp

primary
#548C2A
secondary
#8F5CB5
accent
#4BDD9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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