Skip to content

#ddf47b

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

RGB
221, 244, 123
HSL
71°, 85%, 72%
CMYK
9, 0, 50, 4
Luminance
0.8150

At a glance

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

Hex
#ddf47b
Hue
71°
green
Saturation
85%
electric
Lightness
72%
light
Brightness
96%
HSV value
Perceived
89%
weighted brightness
Luminance
0.8150
WCAG relative
Temperature
Warm
34/100 cool
Color family
Green
Tone
Electric
Best ink
Black
17.30:1
Closest name
Khaki
ΔE2000 8.4
Where it sits
Hue71° of 360°
Saturation85%
Lightness72%
Temperature
Warm ← → Cool34% 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#ddf47b
RGBrgb(221, 244, 123)
HSLhsl(71, 85%, 72%)
CMYKcmyk(9%, 0%, 50%, 4%)
LABlab(92.4 -24.9 55.2)
LCHlch(92.4 60.6 114.2)
OKLCHoklch(0.925 0.149 118.3)
Decimal14546043
Display P3color(display-p3 0.867 0.957 0.482)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf47b on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ddf47b on black: 17.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE970
deuteranopia · #FFEA82
tritanopia · #E7E9D8

Color scale — 50 to 950

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

#FBFCF2
#F6FAE6
#EDF7C5
#E4F697
#ddf47b
#CAEE30
#BBE213
#9CBC10
#7C970D
#5B6D0E
#394408
Base = 400Lightest = 50 · #FBFCF2Darkest = 950 · #394408
:root {
  --brand-50: #FBFCF2;
  --brand-100: #F6FAE6;
  --brand-200: #EDF7C5;
  --brand-300: #E4F697;
  --brand-400: #ddf47b;
  --brand-500: #CAEE30;
  --brand-600: #BBE213;
  --brand-700: #9CBC10;
  --brand-800: #7C970D;
  --brand-900: #5B6D0E;
  --brand-950: #394408;
  --brand: #ddf47b;
  --brand-ink: #000000;
}

Colors that work with #ddf47b

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#E4EDC0
Hairlines and dividers
Muted text#8C9B4B
Captions on the surface
Accent#7880F7
Second voice, not a rival
Dark variant#61760A
Hover, pressed, headers
Light variant#F9FDE7
Selected rows, tints
Dark surface#212414
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 #ddf47b

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#927BF4
Analogous left#F4CF7B
Analogous right#A1F47B
Split-complement 1#7BA1F4
Split-complement 2#CF7BF4
Triadic 1#7BDDF4
Triadic 2#F47BDD
Tetradic#7BF4CF

RGB percentages

Red86.7%
Green95.7%
Blue48.2%

CMYK percentages

Cyan9.4%
Magenta0.0%
Yellow49.6%
Key (black)4.3%

Color previews

#ddf47b text on a black background

contrast 17.30:1

Card sample

#ddf47b text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf47b

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.

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

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

#ddf47b, answered

What color is #ddf47b?

#ddf47b is a light electric green, closest to Khaki (ΔE2000 8.4). It sits at 71° on the hue wheel with 85% saturation and 72% lightness, which reads as warm.

What is the RGB value of #ddf47b?

rgb(221, 244, 123) — 221 red, 244 green and 123 blue out of 255, or 86.7% / 95.7% / 48.2% by channel.

Is #ddf47b a light or a dark color?

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

Should I use black or white text on #ddf47b?

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

What is the complementary color of #ddf47b?

#927BF4 sits directly opposite on the wheel. Softer options are the split-complements #7BA1F4 and #CF7BF4, which give the same contrast with far less vibration.

What colors go well with #ddf47b?

For interface work: #F9FAF4 as the surface, #E4EDC0 for borders, #8C9B4B for secondary text, #7880F7 as an accent and #61760A for hover and pressed states. For a palette, the analogous pair #F4CF7B and #A1F47B stays calm, while #927BF4 is the loudest partner.

What is #ddf47b in CMYK for printing?

cmyk(9%, 0%, 50%, 4%). 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 #ddf47b warm or cool?

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

Work with #ddf47b in the Color Lab