Skip to main content

Green color guide

HEX

#008000

RGB

0, 128, 0

HSL

120°, 100%, 25%

HSV

120°, 100%, 50%

HTML/CSS green (#008000) is a mid-dark, moderately saturated green that sits between the neon punch of #00FF00 lime and the deep forest greens common in outdoor branding. Its relative darkness makes it usable for text and icons on white backgrounds in ways lime green cannot manage. For nature or sustainability cues it reads as classic "leaf green" on screens, without the jewel tone of emerald or the gray of sage.

Best for

SaaS dashboards, admin panels, and professional UI themes.

Accessibility

Green text on white passes AA at 5.14:1, which makes it usable for headings and short labels.

Green color swatch — #008000

How does green compare to nearby colors?

What is the difference between green and forest green?

Green (#008000) feels more signal-like on screen, while Forest Green (#228B22) pushes the family in the opposite direction. Green pushes the palette toward sharper emphasis, while Forest Green leaves more room for typography, photography, or adjacent accents. Use green when you want more pigment and immediate screen energy, and forest green when the same family should feel calmer or more spreadable.

What color is green?

The named web color green (#008000) comes from the X11 color set that influenced early graphical Unix systems and later CSS. It appears in tutorials, default stylesheets, and legacy UI examples, so many developers encounter it as the canonical "medium green" before learning broader palettes.

What is the hex code for green?

FormatValue
HEX#008000
RGBrgb(0, 128, 0)
HSLhsl(120°, 100%, 25%)
HSV / HSBhsv(120°, 100%, 50%)
CMYK (approx.)cmyk(100%, 0%, 100%, 50%)

Convert Green to other color formats

Open the color converter with Green (#008000) prefilled to copy RGB, HSL, HSV, CMYK, or OKLCH values.

Convert Green in the color converter

What does green mean in design?

In product UI, #008000 often reads as confirmation, success, or "go" when paired with checkmarks or positive labels — largely through convention rather than any intrinsic property of the wavelength. It tends to feel straightforward and utilitarian next to fashion-forward emeralds or muted sage greens. Beside lime, it usually reads more serious and less arcade.

How do I use green in code?

CSS (hex)color: #008000;
CSS (rgb)color: rgb(0, 128, 0);
CSS (hsl)color: hsl(120, 100%, 25%);
RGB %rgb(0%, 50%, 0%)
Tailwindtext-[#008000]
SwiftUIColor(red: 0.000, green: 0.502, blue: 0.000)
UIKitUIColor(red: 0.000, green: 0.502, blue: 0.000, alpha: 1.0)
AndroidColor.rgb(0, 128, 0)
ComposeColor(0xFF008000)
Web Safe#009900

Is green accessible?

CombinationRatioAAAA lgAAAAAA lgUI
AaWhite text on this color5.14:1
AaBlack text on this color4.09:1
AaThis color as text on white5.14:1
AaThis color as text on black4.09:1

WCAG 2.1: AA normal ≥ 4.5:1, AA large text ≥ 3:1, AAA normal ≥ 7:1, AAA large ≥ 4.5:1, UI components ≥ 3:1.

How does green look with color blindness?

Normal vision#008000
Protanopia (red-blind)#37391F
Deuteranopia (green-blind)#302626
Tritanopia (blue-blind)#06373D
Achromatopsia (total color blindness)#5C5C5C

Simulated appearance for common types of color vision deficiency. Actual perception varies by individual.

What colors go with green

#FFFFFF
White

White helps green stay legible in charts, labels, and UI states where a muddier light neutral would blur the edges.

#FFD700
Gold

With a cooler color like green, gold adds richness and turns the system toward premium packaging, hospitality, or ceremonial branding.

#FFFDD0
Cream

Cream takes the hard digital edge off green and makes the color feel more printed, paper-backed, and approachable.

#36454F
Charcoal

Charcoal gives green a darker, quieter partner, which helps vivid accents look deliberate instead of loud for their own sake.

#000080
Navy Blue

Pairing green with navy blue adds structure without flattening the source color into something generic.

What colors clash with green

#39FF14
Neon Green

With green, Neon Green pushes the work toward novelty or screen-effect territory faster than most brand or editorial systems can tolerate.

#FF00FF
Magenta

Magenta pushes green toward a nightclub or cosmetic register that is hard to square with calmer editorial or product work.

#FFA500
Orange

Orange changes the context around green so quickly that the palette can start looking campaign-specific rather than durable.

#FFD1DC
Pastel Pink

With green, Pastel Pink often steers the system toward nursery or confectionery cues instead of the more grounded mood the source color supports.

How should I use green in design?

  • Use #008000 for small status pills and table "positive" indicators where you need a green that passes contrast expectations against white without resorting to near-black forest.
  • On maps and diagrams, outline green fills with a slightly darker or desaturated stroke so boundaries remain visible on budget projectors and conference-room displays.
  • When pairing #008000 with orange or red error states, keep one color in a supporting role (smaller area or lower saturation) to avoid a Christmas-candy clash in marketing layouts.

What are good green palettes?

Noir refinement

SaaS dashboards, admin panels, and professional UI themes.

Neutral ground

Workshop handouts, training guides, and presentation templates.

Executive highlight

SaaS dashboards, admin panels, and professional UI themes.

Design with green in Moda

Create a presentation or document using green as your accent color. Moda's AI applies your color palette automatically.

Create a design with green

What are the shades and tints of green?

Shades (darker)

Tints (lighter)

Tones (desaturated)

Hue variations

What are the color harmonies for green?

Harmonies are calculated from the base swatch. When a harmony matches a named color page, it links there; otherwise it appears here as a computed reference swatch.

Complementary
Dark Purple#80007FComputed
Analogous
Dark Cyan#008040ComputedDark Green#408000Computed
Split-complementary
Dark Purple#400080ComputedDark Red#800040Computed
Monochromatic
Dark Green#006600ComputedGreen#00CC00ComputedGreen#33FF33ComputedLight Green#99FF99Computed
Square
Dark Blue#004080ComputedDark Purple#80007FComputedDark Orange#804000Computed

Frequently asked questions

What is the hex code for green?

The hex code for green is #008000. In RGB, that's 0 red, 128 green, and 0 blue. The approximate CMYK equivalent is 100% cyan, 0% magenta, 100% yellow, and 50% key (black).

Is green a warm or cool color?

Green reads as cool. It settles naturally beside blues, greens, silver, and charcoal, and feels more animated when paired with warm accents like gold, coral, or rust.

Is green better as an accent or a full-palette color?

Green is usually best when it leads in short bursts rather than covering everything. It can headline a palette, but most layouts work better when the color handles accents, highlights, or one main hero role instead of every surface.

How should I use green in a design?

Green works well as a dark background with light text, or as a bold accent for headlines, callout bars, and key visuals. It adds weight and authority without the starkness of pure black.

Can I use green for text or backgrounds?

Green can work as text on white at 5.14:1 contrast, but it is usually safest in headings, labels, and accent moments rather than long body copy.

Last updated April 6, 2026

Color values are computed from the listed hex code using standard conversion formulas. RGB, HSL, and HSV are exact screen-ready conversions. CMYK is an approximate on-screen reference, not a press-ready print specification. Pairings, palettes, and use-case guidance are heuristic recommendations derived from color relationships, contrast behavior, and common presentation, document, and UI patterns.