Skip to content

#e2f2ba

a light, vivid green · warm · closest name: Light Goldenrod Yellow

RGB
226, 242, 186
HSL
77°, 68%, 84%
CMYK
7, 0, 23, 5
Luminance
0.8322

At a glance

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

Hex
#e2f2ba
Hue
77°
green
Saturation
68%
vivid
Lightness
84%
light
Brightness
95%
HSV value
Perceived
91%
weighted brightness
Luminance
0.8322
WCAG relative
Temperature
Warm
39/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
17.64:1
Closest name
Light Goldenrod Yellow
ΔE2000 6.5
Where it sits
Hue77° of 360°
Saturation68%
Lightness84%
Temperature
Warm ← → Cool39% 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#e2f2ba
RGBrgb(226, 242, 186)
HSLhsl(77, 68%, 84%)
CMYKcmyk(7%, 0%, 23%, 5%)
LABlab(93.1 -14.6 25.3)
LCHlch(93.1 29.2 119.9)
OKLCHoklch(0.935 0.075 120.8)
Decimal14873274
Display P3color(display-p3 0.886 0.949 0.729)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2f2ba on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#e2f2ba on black: 17.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F9EBB7
deuteranopia · #F7EBBC
tritanopia · #E7ECE3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #e2f2ba 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.

#F9FBF3
#F3F8E8
#e2f2ba
#D7EDA1
#C4E471
#B0DB42
#9ECE27
#84AC20
#6A891A
#4E6417
#313E0E
Base = 200Lightest = 50 · #F9FBF3Darkest = 950 · #313E0E
:root {
  --brand-50: #F9FBF3;
  --brand-100: #F3F8E8;
  --brand-200: #e2f2ba;
  --brand-300: #D7EDA1;
  --brand-400: #C4E471;
  --brand-500: #B0DB42;
  --brand-600: #9ECE27;
  --brand-700: #84AC20;
  --brand-800: #6A891A;
  --brand-900: #4E6417;
  --brand-950: #313E0E;
  --brand: #e2f2ba;
  --brand-ink: #000000;
}

Colors that work with #e2f2ba

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#E0EDC0
Hairlines and dividers
Muted text#849B4B
Captions on the surface
Accent#201BB1
Second voice, not a rival
Dark variant#526B14
Hover, pressed, headers
Light variant#F6FBEA
Selected rows, tints
Dark surface#202414
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 #e2f2ba

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#CABAF2
Analogous left#F2E6BA
Analogous right#C6F2BA
Split-complement 1#BAC6F2
Split-complement 2#E6BAF2
Triadic 1#BAE2F2
Triadic 2#F2BAE2
Tetradic#BAF2E6

RGB percentages

Red88.6%
Green94.9%
Blue72.9%

CMYK percentages

Cyan6.6%
Magenta0.0%
Yellow23.1%
Key (black)5.1%

Color previews

#e2f2ba text on a black background

contrast 17.64:1

Card sample

#e2f2ba text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2f2ba

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.

#e2f2ba 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.

#e2f2ba, answered

What color is #e2f2ba?

#e2f2ba is a light vivid green, closest to Light Goldenrod Yellow (ΔE2000 6.5). It sits at 77° on the hue wheel with 68% saturation and 84% lightness, which reads as warm.

What is the RGB value of #e2f2ba?

rgb(226, 242, 186) — 226 red, 242 green and 186 blue out of 255, or 88.6% / 94.9% / 72.9% by channel.

Is #e2f2ba a light or a dark color?

It is a light color. Relative luminance is 0.8322 and perceived brightness is 91%, so black text on it reaches 17.64:1.

Should I use black or white text on #e2f2ba?

Black. It scores 17.64:1 against #e2f2ba, versus 1.19:1 for white — AAA at any size.

What is the complementary color of #e2f2ba?

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

What colors go well with #e2f2ba?

For interface work: #F9FAF4 as the surface, #E0EDC0 for borders, #849B4B for secondary text, #201BB1 as an accent and #526B14 for hover and pressed states. For a palette, the analogous pair #F2E6BA and #C6F2BA stays calm, while #CABAF2 is the loudest partner.

What is #e2f2ba in CMYK for printing?

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

Is #e2f2ba warm or cool?

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

Work with #e2f2ba in the Color Lab