#548B42#548B42

#548B42 is a mid, moderate green. Relative luminance 0.207; OKLCH L 58.1% C 0.120 H 138.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#548B42
RGBrgb(84, 139, 66)
HSLhsl(105, 36%, 40%)
HSVhsv(105, 53%, 55%)
CMYKcmyk(39.6%, 0%, 52.5%, 45.5%)
CIE-LABlab(52.67, -32.73, 33.16)
CIE-LCHlch(52.67, 46.59, 134.62°)
OKLaboklab(58.08% -0.0898 0.0795)
OKLCHoklch(58.08% 0.12 138.5)
XYZxyz(13.8717, 20.7427, 8.4260)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548B42 #79428B
analogous
#798B42 #548B42 #428B54
triadic
#548B42 #42548B #8B4254
tetradic
#548B42 #42798B #79428B #8B5442
square
#548B42 #42798B #79428B #8B5442
split-complementary
#548B42 #54428B #8B4279
monochromatic
#22381B #3B622E #548B42 #6FB15A #93C483

Accessibility & contrast

On white

4.08
#548B42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#548B42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548B42
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548B42#FFFFFF#000000##000000
##548B421.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813C
Deuteranopia (green-blind)
#877C47
Tritanopia (blue-blind)
#51877A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548b42;
/* rgb */ color: rgb(84, 139, 66);
/* oklch */ color: oklch(58.1% 0.120 138.5);
Tailwind
colors: {
  custom: {
    50: '#87ad78',
    500: '#548b42',
    950: '#000000',
  },
}
SCSS
$custom: #548b42;
$custom-light: #87ad78;
$custom-dark: #000000;
JSON
{
  "hex": "#548b42",
  "rgb": {
    "r": 84,
    "g": 139,
    "b": 66
  },
  "hsl": {
    "h": 105.205,
    "s": 35.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58077,
    "c": 0.11994,
    "h": 138.5
  },
  "luminance": 0.20743
}

Semantic roles & 50–950 ramp

primary
#548B42
secondary
#A27AAF
accent
#5CCCB0
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #548B42

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

Preview Lab → · Contrast checker → · Palette generator →

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