#8EA05C
#C8D8A8
#8E7A5C
#1E2E12
Background
Primary Accent
Secondary
Body Text

Rajgir Hills Color Palette

#8EA05C · #C8D8A8 · #8E7A5C · #1E2E12

AA
WCAG Grade
5.0:1
Contrast Ratio
880
Saves
2,320
AI Copies
AI Prompt

Use #8EA05C as the background. Use #C8D8A8 as the primary accent. Use #8E7A5C as secondary. Use #1E2E12 as body text/supporting color. Palette mood: Rajgir Hills — hills, buddha, ropeway.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Rajgir Hills color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).

Swatch Design Role HEX RGB CMYK HSL
Background
Luminance: 31.7%
142, 160, 92 11%, 0%, 42%, 37% 76°, 27%, 49%
Primary Accent
Luminance: 64.2%
200, 216, 168 7%, 0%, 22%, 15% 80°, 38%, 75%
Secondary
Luminance: 20.4%
142, 122, 92 0%, 14%, 35%, 44% 36°, 21%, 46%
Body Text
Luminance: 2.3%
30, 46, 18 35%, 0%, 61%, 82% 94°, 44%, 13%

Rajgir Hills Tints & Shades

Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Rajgir Hills palette — click any swatch to copy its hex.

#8EA05C gently saturated yellow-green
#C8D8A8 gently saturated yellow-green
#8E7A5C muted orange
#1E2E12 gently saturated yellow-green

Rajgir Hills Palette Contrast Matrix (WCAG 2.1)

Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.

Text on Background Preview Ratio Grade Safe For
#1E2E12 on #C8D8A8
Aa Sample Text
9.52:1 AAA Body text, headings, UI
#C8D8A8 on #1E2E12
Aa Sample Text
9.52:1 AAA Body text, headings, UI
#1E2E12 on #8EA05C
Aa Sample Text
5.04:1 AA Body text, UI
#8EA05C on #1E2E12
Aa Sample Text
5.04:1 AA Body text, UI
#1E2E12 on #8E7A5C
Aa Sample Text
3.50:1 Fail Large headings, UI components
#8E7A5C on #1E2E12
Aa Sample Text
3.50:1 Fail Large headings, UI components
#8E7A5C on #C8D8A8
Aa Sample Text
2.72:1 Fail Decorative use only
#C8D8A8 on #8E7A5C
Aa Sample Text
2.72:1 Fail Decorative use only
#C8D8A8 on #8EA05C
Aa Sample Text
1.89:1 Fail Decorative use only
#8EA05C on #C8D8A8
Aa Sample Text
1.89:1 Fail Decorative use only
#8E7A5C on #8EA05C
Aa Sample Text
1.44:1 Fail Decorative use only
#8EA05C on #8E7A5C
Aa Sample Text
1.44:1 Fail Decorative use only

Rajgir Hills Color Psychology & Meaning

Rajgir is the ancient capital in green hills where the Buddha preached, now linked by a ropeway to a hilltop shrine, and this palette is hill green with warm earth. It feels peaceful and storied, the color of a valley that Buddhism made holy.

Color Harmony: Custom Scheme

The Rajgir Hills palette is built using a custom relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.

Hue Wheel

A custom palette is often preferred by professional designers because it balances visual interest with cohesion.

History & Design Context

Rajgir was the capital of the Magadha kingdom and a favorite of the Buddha, who meditated on its hills; the Griddhakuta peak and the Vulture Peak where he gave the Heart Sutra are reached by ropeway today.

Best Design Use Cases

Use the hill green for the slopes, pale leaf for accents, warm earth for the paths, and deep green for text.

Industries This Palette Suits

Buddhism, pilgrimage, tourism, heritage, hot springs.

Colors That Pair Well With Rajgir Hills

Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.

violet

directly opposite #C8D8A8 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

green

30° beside #C8D8A8 — a calm secondary that extends the palette without adding tension

tinted neutral

a paper-white carrying the palette's own hue — perfect for surfaces and dividers

Using Rajgir Hills Without Breaking Accessibility

  • Avoid #C8D8A8 for small UI elements on #8EA05C — at 1.9:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #1E2E12 — 5.0:1 against #8EA05C passes WCAG AA (AA) for long-form reading.
  • Let #8E7A5C carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #C8D8A8.

How to Implement the Rajgir Hills Color Scheme

To use this Rajgir Hills color palette in your web project, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.

Option 1: CSS Variables

:root { 
  /* {name} Palette - ihatecolors.com */{'
'}  --color-bg: {colors[0]};{'
'}  --color-primary: {colors[1]};{'
'}  --color-secondary: {colors[2]};{'
'}  --color-text: {colors[3]};{'
'} {'}'}

Web Design Tip

Use #8EA05C for the main background and #C8D8A8 for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #1E2E12 and #8EA05C is 5.04:1 (AA). Ensure your body text remains legible.

Rajgir Hills Palette — Frequently Asked Questions

What are the hex codes in the Rajgir Hills color palette?

The Rajgir Hills palette contains #8EA05C, #C8D8A8, #8E7A5C, #1E2E12. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.

Is the Rajgir Hills color palette accessible (WCAG)?

Yes for its strongest pairings: #1E2E12 on #C8D8A8 reaches 9.5:1 (AAA). For body text always keep a 4.5:1 ratio and for large UI elements 3:1 — the full contrast matrix above shows the exact score for every color-on-color combination in this palette.

What colors go well with the Rajgir Hills palette?

Beyond its own four colors, #A995D0, #B3D1AD, #EEEEEC extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.

What mood does the Rajgir Hills palette create?

Rajgir Hills reads as hills, buddha, ropeway. Gently saturated yellow-green drives the personality, grounded by gently saturated yellow-green — a combination that works best when the mid-tone base gets most of the canvas.

Can I use the Rajgir Hills color palette commercially?

Yes. Individual color values can't be copyrighted, so the Rajgir Hills palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.

How do I add the Rajgir Hills palette to Tailwind or CSS?

Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Rajgir Hills's exact values, including the tint and shade ramps shown above.

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content