#548C2E#548C2E

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

Color values

HEX#548C2E
RGBrgb(84, 140, 46)
HSLhsl(96, 51%, 36%)
HSVhsv(96, 67%, 55%)
CMYKcmyk(40%, 0%, 67.1%, 45.1%)
CIE-LABlab(52.77, -35.38, 42.92)
CIE-LCHlch(52.77, 55.62, 129.50°)
OKLaboklab(58.09% -0.0985 0.0985)
OKLCHoklch(58.09% 0.139 135)
XYZxyz(13.5271, 20.8376, 5.8935)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C2E #662E8C
analogous
#838C2E #548C2E #2E8C37
triadic
#548C2E #2E548C #8C2E54
tetradic
#548C2E #2E838C #662E8C #8C372E
square
#548C2E #2E838C #662E8C #8C372E
split-complementary
#548C2E #372E8C #8C2E83
monochromatic
#1D3010 #385E1F #548C2E #70BA3D #90CD67

Accessibility & contrast

On white

4.06
#548C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##548C2E#FFFFFF#000000##000000
##548C2E1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918122
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#538779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548c2e;
/* rgb */ color: rgb(84, 140, 46);
/* oklch */ color: oklch(58.1% 0.139 135.0);
Tailwind
colors: {
  custom: {
    50: '#88ae6b',
    500: '#548c2e',
    950: '#000000',
  },
}
SCSS
$custom: #548c2e;
$custom-light: #88ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#548c2e",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 95.745,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58093,
    "c": 0.13931,
    "h": 135
  },
  "luminance": 0.20838
}

Semantic roles & 50–950 ramp

primary
#548C2E
secondary
#9362B4
accent
#4EDAA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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