#548D2F#548D2F

#548D2F is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.4% C 0.140 H 135.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#548D2F
RGBrgb(84, 141, 47)
HSLhsl(96, 50%, 37%)
HSVhsv(96, 67%, 55%)
CMYKcmyk(40.4%, 0%, 66.7%, 44.7%)
CIE-LABlab(53.10, -35.73, 42.83)
CIE-LCHlch(53.10, 55.78, 129.84°)
OKLaboklab(58.37% -0.0994 0.0985)
OKLCHoklch(58.37% 0.14 135.3)
XYZxyz(13.6938, 21.1391, 6.0475)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548D2F #682F8D
analogous
#838D2F #548D2F #2F8D39
triadic
#548D2F #2F548D #8D2F54
tetradic
#548D2F #2F838D #682F8D #8D392F
square
#548D2F #2F838D #682F8D #8D392F
split-complementary
#548D2F #392F8D #8D2F83
monochromatic
#1D3110 #395F20 #548D2F #6FBB3E #91CD69

Accessibility & contrast

On white

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

On black

5.23
#548D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548D2F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548D2F#FFFFFF#000000##000000
##548D2F1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928223
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#53887A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #548d2f;
/* rgb */ color: rgb(84, 141, 47);
/* oklch */ color: oklch(58.4% 0.140 135.3);
Tailwind
colors: {
  custom: {
    50: '#89af6c',
    500: '#548d2f',
    950: '#000000',
  },
}
SCSS
$custom: #548d2f;
$custom-light: #89af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#548d2f",
  "rgb": {
    "r": 84,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 96.383,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.13991,
    "h": 135.3
  },
  "luminance": 0.2114
}

Semantic roles & 50–950 ramp

primary
#548D2F
secondary
#9464B4
accent
#4EDAA3
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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