Skip to content

#e2f1af

a light, vivid green · warm · closest name: Pale Goldenrod

RGB
226, 241, 175
HSL
74°, 70%, 82%
CMYK
6, 0, 27, 6
Luminance
0.8217

At a glance

Every number on this page in one read: what #e2f1af is made of, how bright it looks, and which way it leans.

Hex
#e2f1af
Hue
74°
green
Saturation
70%
vivid
Lightness
82%
light
Brightness
95%
HSV value
Perceived
90%
weighted brightness
Luminance
0.8217
WCAG relative
Temperature
Warm
36/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
17.43:1
Closest name
Pale Goldenrod
ΔE2000 5.8
Where it sits
Hue74° of 360°
Saturation70%
Lightness82%
Temperature
Warm ← → Cool36% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#e2f1af
RGBrgb(226, 241, 175)
HSLhsl(74, 70%, 82%)
CMYKcmyk(6%, 0%, 27%, 6%)
LABlab(92.7 -15.6 30.3)
LCHlch(92.7 34.1 117.2)
OKLCHoklch(0.931 0.087 118.5)
Decimal14873007
Display P3color(display-p3 0.886 0.945 0.686)

Copy-ready code

/* CSS */
color: #e2f1af;
background-color: #e2f1af;
/* Tailwind (arbitrary) */
class="text-[#e2f1af] bg-[#e2f1af]"
/* SCSS */
$brand: #e2f1af;
/* SwiftUI */
Color(red: 0.886, green: 0.945, blue: 0.686)
/* Android */
Color.parseColor("#e2f1af")
/* Flutter */
Color(0xFFE2F1AF)
/* Python / OpenCV (BGR) */
(175, 241, 226)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #e2f1af · 17.43:1
Use #000000AAA at every size.
Aa
White text · 1.20:1
AA fail · AA large fail · AAA fail
Aa
Black text · 17.43:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #e2f1af as text scores 1.20:1 on white and 17.43:1 on black.

Accessibility — WCAG contrast

Aa
#e2f1af on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#e2f1af on black: 17.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FAEAAB
deuteranopia · #F8EAB2
tritanopia · #E8EAE0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #e2f1af is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAFCF3
#F4F8E7
#E9F2C9
#e2f1af
#CBE670
#BADE40
#A9D024
#8DAE1E
#718B18
#536516
#343F0E
Base = 300Lightest = 50 · #FAFCF3Darkest = 950 · #343F0E
:root {
  --brand-50: #FAFCF3;
  --brand-100: #F4F8E7;
  --brand-200: #E9F2C9;
  --brand-300: #e2f1af;
  --brand-400: #CBE670;
  --brand-500: #BADE40;
  --brand-600: #A9D024;
  --brand-700: #8DAE1E;
  --brand-800: #718B18;
  --brand-900: #536516;
  --brand-950: #343F0E;
  --brand: #e2f1af;
  --brand-ink: #000000;
}

Colors that work with #e2f1af

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9FAF4
Tinted page background
Border#E2EDC0
Hairlines and dividers
Muted text#899B4B
Captions on the surface
Accent#1A1EB2
Second voice, not a rival
Dark variant#586D13
Hover, pressed, headers
Light variant#F7FBE9
Selected rows, tints
Dark surface#212414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #e2f1af

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#BEAFF1
Analogous left#F1DFAF
Analogous right#C1F1AF
Split-complement 1#AFC1F1
Split-complement 2#DFAFF1
Triadic 1#AFE2F1
Triadic 2#F1AFE2
Tetradic#AFF1DF

RGB percentages

Red88.6%
Green94.5%
Blue68.6%

CMYK percentages

Cyan6.2%
Magenta0.0%
Yellow27.4%
Key (black)5.5%

Color previews

#e2f1af text on a black background

contrast 17.43:1

Card sample

#e2f1af text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #e2f1af;
Background color
Panel with #e2f1af background
background-color: #e2f1af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #e2f1af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(226, 241, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(226, 241, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e2f1af;
background: linear-gradient(135deg, #e2f1af, #B6F1AF);

Monochromatic scale

Palettes built from #e2f1af

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#e2f1af in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#e2f1af, answered

What color is #e2f1af?

#e2f1af is a light vivid green, closest to Pale Goldenrod (ΔE2000 5.8). It sits at 74° on the hue wheel with 70% saturation and 82% lightness, which reads as warm.

What is the RGB value of #e2f1af?

rgb(226, 241, 175) — 226 red, 241 green and 175 blue out of 255, or 88.6% / 94.5% / 68.6% by channel.

Is #e2f1af a light or a dark color?

It is a light color. Relative luminance is 0.8217 and perceived brightness is 90%, so black text on it reaches 17.43:1.

Should I use black or white text on #e2f1af?

Black. It scores 17.43:1 against #e2f1af, versus 1.20:1 for white — AAA at any size.

What is the complementary color of #e2f1af?

#BEAFF1 sits directly opposite on the wheel. Softer options are the split-complements #AFC1F1 and #DFAFF1, which give the same contrast with far less vibration.

What colors go well with #e2f1af?

For interface work: #F9FAF4 as the surface, #E2EDC0 for borders, #899B4B for secondary text, #1A1EB2 as an accent and #586D13 for hover and pressed states. For a palette, the analogous pair #F1DFAF and #C1F1AF stays calm, while #BEAFF1 is the loudest partner.

What is #e2f1af in CMYK for printing?

cmyk(6%, 0%, 27%, 6%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #e2f1af warm or cool?

Warm — it scores 36 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F1E8AF; nudged cooler, #CAF2AE.

Work with #e2f1af in the Color Lab