#548C2B#548C2B

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

Color values

HEX#548C2B
RGBrgb(84, 140, 43)
HSLhsl(95, 53%, 36%)
HSVhsv(95, 69%, 55%)
CMYKcmyk(40%, 0%, 69.3%, 45.1%)
CIE-LABlab(52.75, -35.64, 44.18)
CIE-LCHlch(52.75, 56.76, 128.89°)
OKLaboklab(58.06% -0.0994 0.1008)
OKLCHoklch(58.06% 0.142 134.6)
XYZxyz(13.4700, 20.8147, 5.5929)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C2B #632B8C
analogous
#848C2B #548C2B #2B8C32
triadic
#548C2B #2B548C #8C2B54
tetradic
#548C2B #2B848C #632B8C #8C322B
square
#548C2B #2B848C #632B8C #8C322B
split-complementary
#548C2B #322B8C #8C2B84
monochromatic
#1C2E0E #385D1D #548C2B #70BB39 #90CF62

Accessibility & contrast

On white

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

On black

5.16
#548C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548C2B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548C2B#FFFFFF#000000##000000
##548C2B1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811D
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#538778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548c2b;
/* rgb */ color: rgb(84, 140, 43);
/* oklch */ color: oklch(58.1% 0.142 134.6);
Tailwind
colors: {
  custom: {
    50: '#89ae6a',
    500: '#548c2b',
    950: '#000000',
  },
}
SCSS
$custom: #548c2b;
$custom-light: #89ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#548c2b",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 94.639,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58064,
    "c": 0.14159,
    "h": 134.6
  },
  "luminance": 0.20815
}

Semantic roles & 50–950 ramp

primary
#548C2B
secondary
#905EB5
accent
#4BDC9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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