Skip to content

#e2fbab

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

RGB
226, 251, 171
HSL
79°, 91%, 83%
CMYK
10, 0, 32, 2
Luminance
0.8810

At a glance

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

Hex
#e2fbab
Hue
79°
green
Saturation
91%
electric
Lightness
83%
light
Brightness
98%
HSV value
Perceived
92%
weighted brightness
Luminance
0.8810
WCAG relative
Temperature
Warm
41/100 cool
Color family
Green
Tone
Electric
Best ink
Black
18.62:1
Closest name
Pale Goldenrod
ΔE2000 8.5
Where it sits
Hue79° of 360°
Saturation91%
Lightness83%
Temperature
Warm ← → Cool41% 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#e2fbab
RGBrgb(226, 251, 171)
HSLhsl(79, 91%, 83%)
CMYKcmyk(10%, 0%, 32%, 2%)
LABlab(95.2 -21.0 35.7)
LCHlch(95.2 41.4 120.4)
OKLCHoklch(0.951 0.106 122.5)
Decimal14875563
Display P3color(display-p3 0.886 0.984 0.671)

Copy-ready code

/* CSS */
color: #e2fbab;
background-color: #e2fbab;
/* Tailwind (arbitrary) */
class="text-[#e2fbab] bg-[#e2fbab]"
/* SCSS */
$brand: #e2fbab;
/* SwiftUI */
Color(red: 0.886, green: 0.984, blue: 0.671)
/* Android */
Color.parseColor("#e2fbab")
/* Flutter */
Color(0xFFE2FBAB)
/* Python / OpenCV (BGR) */
(171, 251, 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 #e2fbab · 18.62:1
Use #000000AAA at every size.
Aa
White text · 1.13:1
AA fail · AA large fail · AAA fail
Aa
Black text · 18.62:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #e2fbab as text scores 1.13:1 on white and 18.62:1 on black.

Accessibility — WCAG contrast

Aa
#e2fbab on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#e2fbab on black: 18.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF2A6
deuteranopia · #FFF1AF
tritanopia · #E8F3E6

Color scale — 50 to 950

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

#F9FDF2
#F4FBE5
#e2fbab
#DAFA94
#C7F75E
#B5F529
#A4EA0B
#89C309
#6D9C07
#50700A
#324606
Base = 200Lightest = 50 · #F9FDF2Darkest = 950 · #324606
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F4FBE5;
  --brand-200: #e2fbab;
  --brand-300: #DAFA94;
  --brand-400: #C7F75E;
  --brand-500: #B5F529;
  --brand-600: #A4EA0B;
  --brand-700: #89C309;
  --brand-800: #6D9C07;
  --brand-900: #50700A;
  --brand-950: #324606;
  --brand: #e2fbab;
  --brand-ink: #000000;
}

Colors that work with #e2fbab

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#F8FAF4
Tinted page background
Border#DFEDC0
Hairlines and dividers
Muted text#829B4B
Captions on the surface
Accent#1005C7
Second voice, not a rival
Dark variant#557A06
Hover, pressed, headers
Light variant#F7FEE7
Selected rows, tints
Dark surface#1F2414
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 #e2fbab

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#C4ABFB
Analogous left#FBECAB
Analogous right#BAFBAB
Split-complement 1#ABBAFB
Split-complement 2#ECABFB
Triadic 1#ABE2FB
Triadic 2#FBABE2
Tetradic#ABFBEC

RGB percentages

Red88.6%
Green98.4%
Blue67.1%

CMYK percentages

Cyan10.0%
Magenta0.0%
Yellow31.9%
Key (black)1.6%

Color previews

#e2fbab text on a black background

contrast 18.62:1

Card sample

#e2fbab text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2fbab

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.

#e2fbab 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#e2fbab, answered

What color is #e2fbab?

#e2fbab is a light electric green, closest to Pale Goldenrod (ΔE2000 8.5). It sits at 79° on the hue wheel with 91% saturation and 83% lightness, which reads as warm.

What is the RGB value of #e2fbab?

rgb(226, 251, 171) — 226 red, 251 green and 171 blue out of 255, or 88.6% / 98.4% / 67.1% by channel.

Is #e2fbab a light or a dark color?

It is a light color. Relative luminance is 0.8810 and perceived brightness is 92%, so black text on it reaches 18.62:1.

Should I use black or white text on #e2fbab?

Black. It scores 18.62:1 against #e2fbab, versus 1.13:1 for white — AAA at any size.

What is the complementary color of #e2fbab?

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

What colors go well with #e2fbab?

For interface work: #F8FAF4 as the surface, #DFEDC0 for borders, #829B4B for secondary text, #1005C7 as an accent and #557A06 for hover and pressed states. For a palette, the analogous pair #FBECAB and #BAFBAB stays calm, while #C4ABFB is the loudest partner.

What is #e2fbab in CMYK for printing?

cmyk(10%, 0%, 32%, 2%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #e2fbab warm or cool?

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

Work with #e2fbab in the Color Lab