#548D2B#548D2B

#548D2B is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.3% C 0.143 H 134.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#548D2B
RGBrgb(84, 141, 43)
HSLhsl(95, 53%, 36%)
HSVhsv(95, 70%, 55%)
CMYKcmyk(40.4%, 0%, 69.5%, 44.7%)
CIE-LABlab(53.07, -36.08, 44.52)
CIE-LCHlch(53.07, 57.30, 129.02°)
OKLaboklab(58.33% -0.1006 0.1015)
OKLCHoklch(58.33% 0.143 134.8)
XYZxyz(13.6168, 21.1083, 5.6419)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548D2B #642B8D
analogous
#858D2B #548D2B #2B8D33
triadic
#548D2B #2B548D #8D2B54
tetradic
#548D2B #2B858D #642B8D #8D332B
square
#548D2B #2B858D #642B8D #8D332B
split-complementary
#548D2B #332B8D #8D2B85
monochromatic
#1C2F0E #385E1D #548D2B #70BC39 #90CF63

Accessibility & contrast

On white

4.02
#548D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#548D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548D2B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548D2B#FFFFFF#000000##000000
##548D2B1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821D
Deuteranopia (green-blind)
#8B7D34
Tritanopia (blue-blind)
#538879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #548d2b;
/* rgb */ color: rgb(84, 141, 43);
/* oklch */ color: oklch(58.3% 0.143 134.8);
Tailwind
colors: {
  custom: {
    50: '#89af6a',
    500: '#548d2b',
    950: '#000000',
  },
}
SCSS
$custom: #548d2b;
$custom-light: #89af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#548d2b",
  "rgb": {
    "r": 84,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 94.898,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58327,
    "c": 0.14294,
    "h": 134.8
  },
  "luminance": 0.21109
}

Semantic roles & 50–950 ramp

primary
#548D2B
secondary
#915EB6
accent
#4BDDA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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