Skip to content

#ddf2ab

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

RGB
221, 242, 171
HSL
78°, 73%, 81%
CMYK
9, 0, 29, 5
Luminance
0.8182

At a glance

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

Hex
#ddf2ab
Hue
78°
green
Saturation
73%
vivid
Lightness
81%
light
Brightness
95%
HSV value
Perceived
90%
weighted brightness
Luminance
0.8182
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
17.36:1
Closest name
Pale Goldenrod
ΔE2000 7.2
Where it sits
Hue78° of 360°
Saturation73%
Lightness81%
Temperature
Warm ← → Cool40% 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#ddf2ab
RGBrgb(221, 242, 171)
HSLhsl(78, 73%, 81%)
CMYKcmyk(9%, 0%, 29%, 5%)
LABlab(92.5 -18.4 32.1)
LCHlch(92.5 37.0 119.9)
OKLCHoklch(0.929 0.094 121.6)
Decimal14545579
Display P3color(display-p3 0.867 0.949 0.671)

Copy-ready code

/* CSS */
color: #ddf2ab;
background-color: #ddf2ab;
/* Tailwind (arbitrary) */
class="text-[#ddf2ab] bg-[#ddf2ab]"
/* SCSS */
$brand: #ddf2ab;
/* SwiftUI */
Color(red: 0.867, green: 0.949, blue: 0.671)
/* Android */
Color.parseColor("#ddf2ab")
/* Flutter */
Color(0xFFDDF2AB)
/* Python / OpenCV (BGR) */
(171, 242, 221)

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

Accessibility — WCAG contrast

Aa
#ddf2ab on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ddf2ab on black: 17.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBEAA6
deuteranopia · #F8EAAE
tritanopia · #E3EBDF

Color scale — 50 to 950

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

#F9FCF3
#F3F8E7
#E7F3C8
#ddf2ab
#C4E86D
#B0E13D
#9FD421
#85B11B
#6A8D16
#4E6614
#31400C
Base = 300Lightest = 50 · #F9FCF3Darkest = 950 · #31400C
:root {
  --brand-50: #F9FCF3;
  --brand-100: #F3F8E7;
  --brand-200: #E7F3C8;
  --brand-300: #ddf2ab;
  --brand-400: #C4E86D;
  --brand-500: #B0E13D;
  --brand-600: #9FD421;
  --brand-700: #85B11B;
  --brand-800: #6A8D16;
  --brand-900: #4E6614;
  --brand-950: #31400C;
  --brand: #ddf2ab;
  --brand-ink: #000000;
}

Colors that work with #ddf2ab

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#DFEDC0
Hairlines and dividers
Muted text#839B4B
Captions on the surface
Accent#2017B5
Second voice, not a rival
Dark variant#536E11
Hover, pressed, headers
Light variant#F6FCE9
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 #ddf2ab

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#C0ABF2
Analogous left#F2E3AB
Analogous right#BAF2AB
Split-complement 1#ABBAF2
Split-complement 2#E3ABF2
Triadic 1#ABDDF2
Triadic 2#F2ABDD
Tetradic#ABF2E3

RGB percentages

Red86.7%
Green94.9%
Blue67.1%

CMYK percentages

Cyan8.7%
Magenta0.0%
Yellow29.3%
Key (black)5.1%

Color previews

#ddf2ab text on a black background

contrast 17.36:1

Card sample

#ddf2ab text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf2ab

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.

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

#ddf2ab, answered

What color is #ddf2ab?

#ddf2ab is a light vivid green, closest to Pale Goldenrod (ΔE2000 7.2). It sits at 78° on the hue wheel with 73% saturation and 81% lightness, which reads as warm.

What is the RGB value of #ddf2ab?

rgb(221, 242, 171) — 221 red, 242 green and 171 blue out of 255, or 86.7% / 94.9% / 67.1% by channel.

Is #ddf2ab a light or a dark color?

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

Should I use black or white text on #ddf2ab?

Black. It scores 17.36:1 against #ddf2ab, versus 1.21:1 for white — AAA at any size.

What is the complementary color of #ddf2ab?

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

What colors go well with #ddf2ab?

For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #839B4B for secondary text, #2017B5 as an accent and #536E11 for hover and pressed states. For a palette, the analogous pair #F2E3AB and #BAF2AB stays calm, while #C0ABF2 is the loudest partner.

What is #ddf2ab in CMYK for printing?

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

Is #ddf2ab warm or cool?

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

Work with #ddf2ab in the Color Lab