#548C2C#548C2C

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

Color values

HEX#548C2C
RGBrgb(84, 140, 44)
HSLhsl(95, 52%, 36%)
HSVhsv(95, 69%, 55%)
CMYKcmyk(40%, 0%, 68.6%, 45.1%)
CIE-LABlab(52.75, -35.55, 43.77)
CIE-LCHlch(52.75, 56.39, 129.09°)
OKLaboklab(58.07% -0.0991 0.1001)
OKLCHoklch(58.07% 0.141 134.7)
XYZxyz(13.4886, 20.8222, 5.6907)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C2C #642C8C
analogous
#848C2C #548C2C #2C8C34
triadic
#548C2C #2C548C #8C2C54
tetradic
#548C2C #2C848C #642C8C #8C342C
square
#548C2C #2C848C #642C8C #8C342C
split-complementary
#548C2C #342C8C #8C2C84
monochromatic
#1C2F0F #385D1D #548C2C #70BB3B #90CE64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##548C2C#FFFFFF#000000##000000
##548C2C1.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)
#91811F
Deuteranopia (green-blind)
#8A7C34
Tritanopia (blue-blind)
#538778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548c2c;
/* rgb */ color: rgb(84, 140, 44);
/* oklch */ color: oklch(58.1% 0.141 134.7);
Tailwind
colors: {
  custom: {
    50: '#89ae6a',
    500: '#548c2c',
    950: '#000000',
  },
}
SCSS
$custom: #548c2c;
$custom-light: #89ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#548c2c",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 95,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58073,
    "c": 0.14084,
    "h": 134.7
  },
  "luminance": 0.20823
}

Semantic roles & 50–950 ramp

primary
#548C2C
secondary
#915FB5
accent
#4CDCA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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