#548F2F#548F2F

#548F2F is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.9% C 0.143 H 135.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#548F2F
RGBrgb(84, 143, 47)
HSLhsl(97, 51%, 37%)
HSVhsv(97, 67%, 56%)
CMYKcmyk(41.3%, 0%, 67.1%, 43.9%)
CIE-LABlab(53.74, -36.62, 43.53)
CIE-LCHlch(53.74, 56.88, 130.07°)
OKLaboklab(58.89% -0.1018 0.1)
OKLCHoklch(58.89% 0.143 135.5)
XYZxyz(13.9914, 21.7342, 6.1467)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548F2F #6A2F8F
analogous
#848F2F #548F2F #2F8F3A
triadic
#548F2F #2F548F #8F2F54
tetradic
#548F2F #2F848F #6A2F8F #8F3A2F
square
#548F2F #2F848F #6A2F8F #8F3A2F
split-complementary
#548F2F #3A2F8F #8F2F84
monochromatic
#1E3311 #396120 #548F2F #6FBD3E #91CE6A

Accessibility & contrast

On white

3.93
#548F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#548F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548F2F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548F2F#FFFFFF#000000##000000
##548F2F1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948422
Deuteranopia (green-blind)
#8C7F37
Tritanopia (blue-blind)
#528A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #548f2f;
/* rgb */ color: rgb(84, 143, 47);
/* oklch */ color: oklch(58.9% 0.143 135.5);
Tailwind
colors: {
  custom: {
    50: '#89b06c',
    500: '#548f2f',
    950: '#000000',
  },
}
SCSS
$custom: #548f2f;
$custom-light: #89b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#548f2f",
  "rgb": {
    "r": 84,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 96.875,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58891,
    "c": 0.14265,
    "h": 135.5
  },
  "luminance": 0.21735
}

Semantic roles & 50–950 ramp

primary
#548F2F
secondary
#9665B5
accent
#4EDAA4
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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