Photo in the color Fern green
Pictured: Fern green, the closest color we have a photo of (#4F7942)
rgb(84, 141, 68)
#548D44

Fern #548D44 RGB Color Code

Name from the community color list.

Fern (#548D44) is a moderately saturated, medium green. In RGB it is made of 33% red, 55% green and 27% blue (R 84, G 141, B 68). The green channel is the strongest. In HSL it has a hue of 107Β°, 35% saturation and 41% lightness. Its relative luminance is 0.214, so black text is easier to read on top of it. For print, a rough CMYK match is 40% cyan, 0% magenta, 52% yellow and 45% black. Check it against your printer's ICC profile before you print. It is a cool color. It goes well with warm oranges and reds for contrast. For a calm, matching look, use nearby cool tones.

Open in color picker

Fern color codes

#548D44 in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #548D44 Valid CSS
RGB rgb(84, 141, 68) Valid CSS
HSL hsl(107, 35%, 41%) Valid CSS
HSV / HSB hsv(107, 52%, 55%) Not a CSS format
HWB hwb(107 27% 45%) Valid CSS
CMYK cmyk(40%, 0%, 52%, 45%) Approximate (no ICC profile)
OKLCH oklch(58.63% 0.121 139.14) Valid CSS
OKLab oklab(58.63% -0.0915 0.0791) Valid CSS
CIELAB lab(53.4% -30.54 32.47) D50, as in CSS
CIELCH lch(53.4% 44.57 133.25) Valid CSS
Display P3 color(display-p3 0.3814 0.5473 0.3004) Valid CSS
XYZ (D65) color(xyz-d65 0.1422 0.2135 0.0884) Valid CSS
Decimal 5541188 Integer (0xRRGGBB)

CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.2135. Nearest web-safe color: #669933.

Mix Fern with other colors

See what #548D44 makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.

Use Fern in your code

Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.

WhereCodeCopy
CSS variable--fern: #548D44;
Sass variable$fern: #548D44;
Tailwind CSS v4@theme { --color-fern: #548D44; }
Tailwind CSS v3 configcolors: { 'fern': '#548D44' }
SwiftUIColor(red: 0.329, green: 0.553, blue: 0.267)
UIKitUIColor(red: 0.329, green: 0.553, blue: 0.267, alpha: 1)
Android XML<color name="fern">#FF548D44</color>
Flutter and Jetpack ComposeColor(0xFF548D44)

Accessibility and contrast

Black text works best on #548D44 (5.27:1, AA). Here is how #548D44 does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
3.98:1 on white
APCA Lc 67
AA LargeTry #4B843B
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
5.27:1 on black
APCA Lc -35
AA

Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.

How people with color blindness see Fern

#548D44 next to its complement and its two triadic colors, as seen with each type of color blindness.

  • Normal visionhow most people see it
  • Protanopiano red cones, about 1% of men
  • Deuteranopiano green cones, the most common type
  • Tritanopiano blue cones, very rare
  • Achromatopsiano color at all, very rare

#548D44 stays easy to tell apart from its complement and triadic colors for the common types of color blindness. Try your own colors in the color blindness simulator.

About the color Fern

Fern and fern green

The plain name fern is mostly known from Crayola, which made a Fern crayon in 1998. Wikipedia shows that crayon as #63B76C, a light, fresh green. Name That Color uses the same code for Fern.

The older name is fern green. Maerz and Paul's A Dictionary of Color of 1930 says it was first used as a color name in 1902. Its code, #4F7942, has its own page as fern green. The Wikipedia section on fern green covers both.

Where #548D44 comes from

The code on this page sits between those two. It is the color called "fern green" in the 2010 xkcd color survey, not "fern", which that survey gives as #63A950. So the name and the code here come from slightly different entries. For more leaf colors, see sap green or the shades of green.

Fern in a user interface

A sample app screen with #548D44 as the main color, on a light and a dark theme.

Light theme

Dark theme

Buttons and bars use #548D44 as it is. On the light theme, #548D44 is too hard to read as text (3.98:1), so links, the badge and outline text use #4B843B there (4.50:1). On the dark theme, #548D44 is too hard to read as text (4.46:1), so links, the badge and outline text use #558E45 there (4.52:1). Build a full color scheme around it in the UI color preview.

Color harmonies for Fern

These schemes turn the hue of #548D44 around the color wheel. Each swatch links to its own page.

Complementary

Two colors on opposite sides of the wheel. This gives the most contrast.

Open palette

Analogous

Hues that sit next to each other and look good together.

Open palette

Triadic

Three hues spaced evenly around the wheel. Bold, but still balanced.

Open palette

Split complementary

A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.

Open palette

Tetradic (rectangle)

Two pairs of opposite colors. Let one color lead and use the others less.

Open palette

Square

Four hues 90Β° apart, spread evenly around the wheel.

Open palette

Monochromatic

One hue at different levels of lightness and saturation.

Open palette

Gradients with Fern

Four CSS gradients made from #548D44. Copy the code, or open one in the gradient generator to change it.

Soft tint

From a pale tint to the full color.

background: linear-gradient(90deg, #DCE8D9, #548D44);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #548D44, #11230C);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #798D44, #548D44, #448D59);

Edit in the gradient generator

Triadic

A bold blend with a triadic color, through a clean middle.

background: linear-gradient(135deg, #548D44, #4A7370, #44548D);

Edit in the gradient generator

Shades, tints and tones of Fern

Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.

Design system scale (50 to 950)

Fern sits at step 500. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    E9FEE3
  2. 100
    DAF7D3
  3. 200
    C1E8B7
  4. 300
    A0D193
  5. 400
    7DB46E
  6. 500
    548D44
  7. 600
    447C35
  8. 700
    316322
  9. 800
    244E17
  10. 900
    1A3910
  11. 950
    11220D

Closest RAL, Tailwind and CSS colors

The nearest match to #548D44 in three color systems that designers and builders use.

Ξ”E is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.

The named colors that look closest to this one (Ξ”E in OKLab). Browse all shades of green or search the color library.