Skip to content

#e2f366

a light, electric yellow · warm · closest name: Khaki

RGB
226, 243, 102
HSL
67°, 86%, 68%
CMYK
7, 0, 58, 5
Luminance
0.8123

At a glance

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

Hex
#e2f366
Hue
67°
yellow
Saturation
86%
electric
Lightness
68%
light
Brightness
95%
HSV value
Perceived
89%
weighted brightness
Luminance
0.8123
WCAG relative
Temperature
Warm
31/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
17.25:1
Closest name
Khaki
ΔE2000 8.4
Where it sits
Hue67° of 360°
Saturation86%
Lightness68%
Temperature
Warm ← → Cool31% 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#e2f366
RGBrgb(226, 243, 102)
HSLhsl(67, 86%, 68%)
CMYKcmyk(7%, 0%, 58%, 5%)
LABlab(92.2 -24.2 64.5)
LCHlch(92.2 68.9 110.6)
OKLCHoklch(0.925 0.165 115.5)
Decimal14873446
Display P3color(display-p3 0.886 0.953 0.400)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2f366 on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#e2f366 on black: 17.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE856
deuteranopia · #FFEA6F
tritanopia · #EFE6D5

Color scale — 50 to 950

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

#FBFDF2
#F8FAE5
#F1F7C5
#EBF797
#e2f366
#D8EF2F
#CAE312
#A8BD0F
#87970C
#626D0D
#3D4408
Base = 400Lightest = 50 · #FBFDF2Darkest = 950 · #3D4408
:root {
  --brand-50: #FBFDF2;
  --brand-100: #F8FAE5;
  --brand-200: #F1F7C5;
  --brand-300: #EBF797;
  --brand-400: #e2f366;
  --brand-500: #D8EF2F;
  --brand-600: #CAE312;
  --brand-700: #A8BD0F;
  --brand-800: #87970C;
  --brand-900: #626D0D;
  --brand-950: #3D4408;
  --brand: #e2f366;
  --brand-ink: #000000;
}

Colors that work with #e2f366

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#FAFAF4
Tinted page background
Border#E7EDC0
Hairlines and dividers
Muted text#919B4B
Captions on the surface
Accent#6276F6
Second voice, not a rival
Dark variant#697609
Hover, pressed, headers
Light variant#FBFDE7
Selected rows, tints
Dark surface#222414
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 #e2f366

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
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#7766F3
Analogous left#F3BD66
Analogous right#9BF366
Split-complement 1#669BF3
Split-complement 2#BD66F3
Triadic 1#66E2F3
Triadic 2#F366E2
Tetradic#66F3BD

RGB percentages

Red88.6%
Green95.3%
Blue40.0%

CMYK percentages

Cyan7.0%
Magenta0.0%
Yellow58.0%
Key (black)4.7%

Color previews

#e2f366 text on a black background

contrast 17.25:1

Card sample

#e2f366 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(226, 243, 102, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(226, 243, 102, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e2f366;
background: linear-gradient(135deg, #e2f366, #84F366);

Monochromatic scale

Palettes built from #e2f366

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.

#e2f366 in the real world

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

Industries
RetailLeisureEnergyWarning systems
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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

#e2f366, answered

What color is #e2f366?

#e2f366 is a light electric yellow, closest to Khaki (ΔE2000 8.4). It sits at 67° on the hue wheel with 86% saturation and 68% lightness, which reads as warm.

What is the RGB value of #e2f366?

rgb(226, 243, 102) — 226 red, 243 green and 102 blue out of 255, or 88.6% / 95.3% / 40% by channel.

Is #e2f366 a light or a dark color?

It is a light color. Relative luminance is 0.8123 and perceived brightness is 89%, so black text on it reaches 17.25:1.

Should I use black or white text on #e2f366?

Black. It scores 17.25:1 against #e2f366, versus 1.22:1 for white — AAA at any size.

What is the complementary color of #e2f366?

#7766F3 sits directly opposite on the wheel. Softer options are the split-complements #669BF3 and #BD66F3, which give the same contrast with far less vibration.

What colors go well with #e2f366?

For interface work: #FAFAF4 as the surface, #E7EDC0 for borders, #919B4B for secondary text, #6276F6 as an accent and #697609 for hover and pressed states. For a palette, the analogous pair #F3BD66 and #9BF366 stays calm, while #7766F3 is the loudest partner.

What is #e2f366 in CMYK for printing?

cmyk(7%, 0%, 58%, 5%). 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 #e2f366 warm or cool?

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

Work with #e2f366 in the Color Lab