#548A42#548A42

#548A42 is a mid, moderate green. Relative luminance 0.205; OKLCH L 57.8% C 0.118 H 138.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#548A42
RGBrgb(84, 138, 66)
HSLhsl(105, 35%, 40%)
HSVhsv(105, 52%, 54%)
CMYKcmyk(39.1%, 0%, 52.2%, 45.9%)
CIE-LABlab(52.35, -32.27, 32.77)
CIE-LCHlch(52.35, 45.99, 134.55°)
OKLaboklab(57.82% -0.0885 0.0786)
OKLCHoklch(57.82% 0.118 138.4)
XYZxyz(13.7276, 20.4544, 8.3780)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548A42 #78428A
analogous
#788A42 #548A42 #428A54
triadic
#548A42 #42548A #8A4254
tetradic
#548A42 #42788A #78428A #8A5442
square
#548A42 #42788A #78428A #8A5442
split-complementary
#548A42 #54428A #8A4278
monochromatic
#22371A #3B612E #548A42 #6FB059 #93C483

Accessibility & contrast

On white

4.12
#548A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#548A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548A42
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548A42#FFFFFF#000000##000000
##548A421.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803C
Deuteranopia (green-blind)
#867B47
Tritanopia (blue-blind)
#518679
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #548a42;
/* rgb */ color: rgb(84, 138, 66);
/* oklch */ color: oklch(57.8% 0.118 138.4);
Tailwind
colors: {
  custom: {
    50: '#87ac78',
    500: '#548a42',
    950: '#000000',
  },
}
SCSS
$custom: #548a42;
$custom-light: #87ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#548a42",
  "rgb": {
    "r": 84,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 105,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.57817,
    "c": 0.11843,
    "h": 138.4
  },
  "luminance": 0.20455
}

Semantic roles & 50–950 ramp

primary
#548A42
secondary
#A179AE
accent
#5CCBB0
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #548A42

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

Preview Lab → · Contrast checker → · Palette generator →

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