Skip to content

#def2d7

a pale, vivid green · neutral · closest name: Honey Dew

RGB
222, 242, 215
HSL
104°, 51%, 90%
CMYK
8, 0, 11, 5
Luminance
0.8394

At a glance

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

Hex
#def2d7
Hue
104°
green
Saturation
51%
vivid
Lightness
90%
pale
Brightness
95%
HSV value
Perceived
91%
weighted brightness
Luminance
0.8394
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
17.79:1
Closest name
Honey Dew
ΔE2000 5.5
Where it sits
Hue104° of 360°
Saturation51%
Lightness90%
Temperature
Warm ← → Cool56% cool

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

Every format

HEX#def2d7
RGBrgb(222, 242, 215)
HSLhsl(104, 51%, 90%)
CMYKcmyk(8%, 0%, 11%, 5%)
LABlab(93.4 -11.4 10.8)
LCHlch(93.4 15.7 136.5)
OKLCHoklch(0.939 0.042 137.5)
Decimal14611159
Display P3color(display-p3 0.871 0.949 0.843)

Copy-ready code

/* CSS */
color: #def2d7;
background-color: #def2d7;
/* Tailwind (arbitrary) */
class="text-[#def2d7] bg-[#def2d7]"
/* SCSS */
$brand: #def2d7;
/* SwiftUI */
Color(red: 0.871, green: 0.949, blue: 0.843)
/* Android */
Color.parseColor("#def2d7")
/* Flutter */
Color(0xFFDEF2D7)
/* Python / OpenCV (BGR) */
(215, 242, 222)

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 #def2d7 · 17.79:1
Use #000000AAA at every size.
Aa
White text · 1.18:1
AA fail · AA large fail · AAA fail
Aa
Black text · 17.79:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #def2d7 as text scores 1.18:1 on white and 17.79:1 on black.

Accessibility — WCAG contrast

Aa
#def2d7 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#def2d7 on black: 17.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F4EDD6
deuteranopia · #F1EBD8
tritanopia · #DEF0EA

Color scale — 50 to 950

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

#F6FAF4
#EDF6EA
#def2d7
#B9E3AA
#96D680
#73C856
#5CB93C
#4D9A32
#3E7B28
#2F5A21
#1E3814
Base = 200Lightest = 50 · #F6FAF4Darkest = 950 · #1E3814
:root {
  --brand-50: #F6FAF4;
  --brand-100: #EDF6EA;
  --brand-200: #def2d7;
  --brand-300: #B9E3AA;
  --brand-400: #96D680;
  --brand-500: #73C856;
  --brand-600: #5CB93C;
  --brand-700: #4D9A32;
  --brand-800: #3E7B28;
  --brand-900: #2F5A21;
  --brand-950: #1E3814;
  --brand: #def2d7;
  --brand-ink: #000000;
}

Colors that work with #def2d7

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#F6FAF4
Tinted page background
Border#CCEBC1
Hairlines and dividers
Muted text#5F9B4B
Captions on the surface
Accent#642E9E
Second voice, not a rival
Dark variant#30601F
Hover, pressed, headers
Light variant#EFF9EC
Selected rows, tints
Dark surface#182414
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 #def2d7

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#EBD7F2
Analogous left#EBF2D7
Analogous right#D7F2DD
Split-complement 1#DDD7F2
Split-complement 2#F2D7EB
Triadic 1#D7DEF2
Triadic 2#F2D7DE
Tetradic#D7EBF2

RGB percentages

Red87.1%
Green94.9%
Blue84.3%

CMYK percentages

Cyan8.3%
Magenta0.0%
Yellow11.2%
Key (black)5.1%

Color previews

#def2d7 text on a black background

contrast 17.79:1

Card sample

#def2d7 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def2d7

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.

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

Very light tints can drop out on uncoated stock; check it at 100% size before signing off.

#def2d7, answered

What color is #def2d7?

#def2d7 is a pale vivid green, closest to Honey Dew (ΔE2000 5.5). It sits at 104° on the hue wheel with 51% saturation and 90% lightness, which reads as neutral.

What is the RGB value of #def2d7?

rgb(222, 242, 215) — 222 red, 242 green and 215 blue out of 255, or 87.1% / 94.9% / 84.3% by channel.

Is #def2d7 a light or a dark color?

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

Should I use black or white text on #def2d7?

Black. It scores 17.79:1 against #def2d7, versus 1.18:1 for white — AAA at any size.

What is the complementary color of #def2d7?

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

What colors go well with #def2d7?

For interface work: #F6FAF4 as the surface, #CCEBC1 for borders, #5F9B4B for secondary text, #642E9E as an accent and #30601F for hover and pressed states. For a palette, the analogous pair #EBF2D7 and #D7F2DD stays calm, while #EBD7F2 is the loudest partner.

What is #def2d7 in CMYK for printing?

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

Is #def2d7 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E8F2D7; nudged cooler, #D6F3D9.

Work with #def2d7 in the Color Lab