#548E2A#548E2A

#548E2A is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.6% C 0.145 H 134.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#548E2A
RGBrgb(84, 142, 42)
HSLhsl(95, 54%, 36%)
HSVhsv(95, 70%, 56%)
CMYKcmyk(40.8%, 0%, 70.4%, 44.3%)
CIE-LABlab(53.38, -36.60, 45.26)
CIE-LCHlch(53.38, 58.21, 128.96°)
OKLaboklab(58.58% -0.1021 0.1029)
OKLCHoklch(58.58% 0.145 134.8)
XYZxyz(13.7468, 21.3973, 5.5958)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548E2A #642A8E
analogous
#868E2A #548E2A #2A8E32
triadic
#548E2A #2A548E #8E2A54
tetradic
#548E2A #2A868E #642A8E #8E322A
square
#548E2A #2A868E #642A8E #8E322A
split-complementary
#548E2A #322A8E #8E2A86
monochromatic
#1C300E #385F1C #548E2A #70BD38 #90D162

Accessibility & contrast

On white

3.98
#548E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#548E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548E2A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548E2A#FFFFFF#000000##000000
##548E2A1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93831B
Deuteranopia (green-blind)
#8B7E33
Tritanopia (blue-blind)
#53897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #548e2a;
/* rgb */ color: rgb(84, 142, 42);
/* oklch */ color: oklch(58.6% 0.145 134.8);
Tailwind
colors: {
  custom: {
    50: '#89af69',
    500: '#548e2a',
    950: '#000000',
  },
}
SCSS
$custom: #548e2a;
$custom-light: #89af69;
$custom-dark: #000000;
JSON
{
  "hex": "#548e2a",
  "rgb": {
    "r": 84,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 94.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.14501,
    "h": 134.8
  },
  "luminance": 0.21398
}

Semantic roles & 50–950 ramp

primary
#548E2A
secondary
#915DB6
accent
#4ADEA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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