#548F2C#548F2C

#548F2C is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.9% C 0.145 H 135.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#548F2C
RGBrgb(84, 143, 44)
HSLhsl(96, 53%, 37%)
HSVhsv(96, 69%, 56%)
CMYKcmyk(41.3%, 0%, 69.2%, 43.9%)
CIE-LABlab(53.72, -36.88, 44.78)
CIE-LCHlch(53.72, 58.01, 129.47°)
OKLaboklab(58.86% -0.1027 0.1022)
OKLCHoklch(58.86% 0.145 135.1)
XYZxyz(13.9329, 21.7109, 5.8389)
Luminance0.2171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548F2C #672C8F
analogous
#868F2C #548F2C #2C8F36
triadic
#548F2C #2C548F #8F2C54
tetradic
#548F2C #2C868F #672C8F #8F362C
square
#548F2C #2C868F #672C8F #8F362C
split-complementary
#548F2C #362C8F #8F2C86
monochromatic
#1D310F #39601E #548F2C #6FBE3A #91D066

Accessibility & contrast

On white

3.93
#548F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#548F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548F2C
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548F2C#FFFFFF#000000##000000
##548F2C1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831E
Deuteranopia (green-blind)
#8C7F35
Tritanopia (blue-blind)
#538A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #548f2c;
/* rgb */ color: rgb(84, 143, 44);
/* oklch */ color: oklch(58.9% 0.145 135.1);
Tailwind
colors: {
  custom: {
    50: '#89b06b',
    500: '#548f2c',
    950: '#000000',
  },
}
SCSS
$custom: #548f2c;
$custom-light: #89b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#548f2c",
  "rgb": {
    "r": 84,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 95.758,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58862,
    "c": 0.1449,
    "h": 135.1
  },
  "luminance": 0.21712
}

Semantic roles & 50–950 ramp

primary
#548F2C
secondary
#9461B6
accent
#4BDCA2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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