#548C2F#548C2F

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

Color values

HEX#548C2F
RGBrgb(84, 140, 47)
HSLhsl(96, 50%, 37%)
HSVhsv(96, 66%, 55%)
CMYKcmyk(40%, 0%, 66.4%, 45.1%)
CIE-LABlab(52.78, -35.29, 42.48)
CIE-LCHlch(52.78, 55.23, 129.71°)
OKLaboklab(58.1% -0.0982 0.0978)
OKLCHoklch(58.1% 0.139 135.1)
XYZxyz(13.5470, 20.8455, 5.9986)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C2F #672F8C
analogous
#838C2F #548C2F #2F8C39
triadic
#548C2F #2F548C #8C2F54
tetradic
#548C2F #2F838C #672F8C #8C392F
square
#548C2F #2F838C #672F8C #8C392F
split-complementary
#548C2F #392F8C #8C2F83
monochromatic
#1D3010 #395E20 #548C2F #6FBA3E #91CD69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##548C2F#FFFFFF#000000##000000
##548C2F1.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)
#918123
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#538779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548c2f;
/* rgb */ color: rgb(84, 140, 47);
/* oklch */ color: oklch(58.1% 0.139 135.1);
Tailwind
colors: {
  custom: {
    50: '#88ae6c',
    500: '#548c2f',
    950: '#000000',
  },
}
SCSS
$custom: #548c2f;
$custom-light: #88ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#548c2f",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 96.129,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58103,
    "c": 0.13853,
    "h": 135.1
  },
  "luminance": 0.20846
}

Semantic roles & 50–950 ramp

primary
#548C2F
secondary
#9463B4
accent
#4FD9A2
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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