#548F2A#548F2A

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

Color values

HEX#548F2A
RGBrgb(84, 143, 42)
HSLhsl(95, 55%, 36%)
HSVhsv(95, 71%, 56%)
CMYKcmyk(41.3%, 0%, 70.6%, 43.9%)
CIE-LABlab(53.70, -37.04, 45.60)
CIE-LCHlch(53.70, 58.75, 129.09°)
OKLaboklab(58.84% -0.1033 0.1036)
OKLCHoklch(58.84% 0.146 134.9)
XYZxyz(13.8962, 21.6962, 5.6456)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548F2A #652A8F
analogous
#878F2A #548F2A #2A8F33
triadic
#548F2A #2A548F #8F2A54
tetradic
#548F2A #2A878F #652A8F #8F332A
square
#548F2A #2A878F #652A8F #8F332A
split-complementary
#548F2A #332A8F #8F2A87
monochromatic
#1C300E #38601C #548F2A #70BE38 #90D162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##548F2A#FFFFFF#000000##000000
##548F2A1.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)
#94831B
Deuteranopia (green-blind)
#8C7F33
Tritanopia (blue-blind)
#53897B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #548f2a;
/* rgb */ color: rgb(84, 143, 42);
/* oklch */ color: oklch(58.8% 0.146 134.9);
Tailwind
colors: {
  custom: {
    50: '#89b06a',
    500: '#548f2a',
    950: '#000000',
  },
}
SCSS
$custom: #548f2a;
$custom-light: #89b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#548f2a",
  "rgb": {
    "r": 84,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 95.05,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58844,
    "c": 0.14634,
    "h": 134.9
  },
  "luminance": 0.21697
}

Semantic roles & 50–950 ramp

primary
#548F2A
secondary
#925EB7
accent
#4ADEA0
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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