#548C2D#548C2D

#548C2D is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.1% C 0.140 H 134.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#548C2D
RGBrgb(84, 140, 45)
HSLhsl(95, 51%, 36%)
HSVhsv(95, 68%, 55%)
CMYKcmyk(40%, 0%, 67.9%, 45.1%)
CIE-LABlab(52.76, -35.47, 43.34)
CIE-LCHlch(52.76, 56.00, 129.29°)
OKLaboklab(58.08% -0.0988 0.0993)
OKLCHoklch(58.08% 0.14 134.9)
XYZxyz(13.5076, 20.8298, 5.7909)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C2D #652D8C
analogous
#848C2D #548C2D #2D8C36
triadic
#548C2D #2D548C #8C2D54
tetradic
#548C2D #2D848C #652D8C #8C362D
square
#548C2D #2D848C #652D8C #8C362D
split-complementary
#548C2D #362D8C #8C2D84
monochromatic
#1C2F0F #385E1E #548C2D #70BA3C #90CE66

Accessibility & contrast

On white

4.07
#548C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#548C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548C2D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548C2D#FFFFFF#000000##000000
##548C2D1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#8A7C35
Tritanopia (blue-blind)
#538779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548c2d;
/* rgb */ color: rgb(84, 140, 45);
/* oklch */ color: oklch(58.1% 0.140 134.9);
Tailwind
colors: {
  custom: {
    50: '#89ae6b',
    500: '#548c2d',
    950: '#000000',
  },
}
SCSS
$custom: #548c2d;
$custom-light: #89ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#548c2d",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 95.368,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58083,
    "c": 0.14008,
    "h": 134.9
  },
  "luminance": 0.2083
}

Semantic roles & 50–950 ramp

primary
#548C2D
secondary
#9260B4
accent
#4DDBA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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