Skip to content

#ddf2ba

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

RGB
221, 242, 186
HSL
83°, 68%, 84%
CMYK
9, 0, 23, 5
Luminance
0.8242

At a glance

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

Hex
#ddf2ba
Hue
83°
green
Saturation
68%
vivid
Lightness
84%
light
Brightness
95%
HSV value
Perceived
90%
weighted brightness
Luminance
0.8242
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
17.48:1
Closest name
Light Goldenrod Yellow
ΔE2000 7.5
Where it sits
Hue83° of 360°
Saturation68%
Lightness84%
Temperature
Warm ← → Cool44% 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#ddf2ba
RGBrgb(221, 242, 186)
HSLhsl(83, 68%, 84%)
CMYKcmyk(9%, 0%, 23%, 5%)
LABlab(92.8 -16.3 24.8)
LCHlch(92.8 29.7 123.4)
OKLCHoklch(0.932 0.076 124.6)
Decimal14545594
Display P3color(display-p3 0.867 0.949 0.729)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf2ba on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#ddf2ba on black: 17.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F9EBB7
deuteranopia · #F6EABC
tritanopia · #E1ECE3

Color scale — 50 to 950

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

#F8FBF3
#F2F8E8
#ddf2ba
#D0EDA1
#B9E471
#A2DB42
#8FCE27
#77AC20
#60891A
#476417
#2C3E0E
Base = 200Lightest = 50 · #F8FBF3Darkest = 950 · #2C3E0E
:root {
  --brand-50: #F8FBF3;
  --brand-100: #F2F8E8;
  --brand-200: #ddf2ba;
  --brand-300: #D0EDA1;
  --brand-400: #B9E471;
  --brand-500: #A2DB42;
  --brand-600: #8FCE27;
  --brand-700: #77AC20;
  --brand-800: #60891A;
  --brand-900: #476417;
  --brand-950: #2C3E0E;
  --brand: #ddf2ba;
  --brand-ink: #000000;
}

Colors that work with #ddf2ba

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#DCEDC0
Hairlines and dividers
Muted text#7D9B4B
Captions on the surface
Accent#2F1BB1
Second voice, not a rival
Dark variant#4B6B14
Hover, pressed, headers
Light variant#F4FBEA
Selected rows, tints
Dark surface#1E2414
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 #ddf2ba

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#CFBAF2
Analogous left#F2EBBA
Analogous right#C1F2BA
Split-complement 1#BAC1F2
Split-complement 2#EBBAF2
Triadic 1#BADDF2
Triadic 2#F2BADD
Tetradic#BAF2EB

RGB percentages

Red86.7%
Green94.9%
Blue72.9%

CMYK percentages

Cyan8.7%
Magenta0.0%
Yellow23.1%
Key (black)5.1%

Color previews

#ddf2ba text on a black background

contrast 17.48:1

Card sample

#ddf2ba text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf2ba

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.

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

#ddf2ba, answered

What color is #ddf2ba?

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

What is the RGB value of #ddf2ba?

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

Is #ddf2ba a light or a dark color?

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

Should I use black or white text on #ddf2ba?

Black. It scores 17.48:1 against #ddf2ba, versus 1.20:1 for white — AAA at any size.

What is the complementary color of #ddf2ba?

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

What colors go well with #ddf2ba?

For interface work: #F8FAF4 as the surface, #DCEDC0 for borders, #7D9B4B for secondary text, #2F1BB1 as an accent and #4B6B14 for hover and pressed states. For a palette, the analogous pair #F2EBBA and #C1F2BA stays calm, while #CFBAF2 is the loudest partner.

What is #ddf2ba in CMYK for printing?

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

Is #ddf2ba warm or cool?

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

Work with #ddf2ba in the Color Lab