Skip to content

#dfef9b

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

RGB
223, 239, 155
HSL
71°, 72%, 77%
CMYK
7, 0, 35, 6
Luminance
0.7979

At a glance

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

Hex
#dfef9b
Hue
71°
green
Saturation
72%
vivid
Lightness
77%
light
Brightness
94%
HSV value
Perceived
89%
weighted brightness
Luminance
0.7979
WCAG relative
Temperature
Warm
34/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
16.96:1
Closest name
Pale Goldenrod
ΔE2000 6.7
Where it sits
Hue71° of 360°
Saturation72%
Lightness77%
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#dfef9b
RGBrgb(223, 239, 155)
HSLhsl(71, 72%, 77%)
CMYKcmyk(7%, 0%, 35%, 6%)
LABlab(91.6 -18.3 38.9)
LCHlch(91.6 43.0 115.2)
OKLCHoklch(0.921 0.108 117.4)
Decimal14675867
Display P3color(display-p3 0.875 0.937 0.608)

Copy-ready code

/* CSS */
color: #dfef9b;
background-color: #dfef9b;
/* Tailwind (arbitrary) */
class="text-[#dfef9b] bg-[#dfef9b]"
/* SCSS */
$brand: #dfef9b;
/* SwiftUI */
Color(red: 0.875, green: 0.937, blue: 0.608)
/* Android */
Color.parseColor("#dfef9b")
/* Flutter */
Color(0xFFDFEF9B)
/* Python / OpenCV (BGR) */
(155, 239, 223)

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

Accessibility — WCAG contrast

Aa
#dfef9b on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#dfef9b on black: 16.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FAE795
deuteranopia · #F8E79F
tritanopia · #E7E6DA

Color scale — 50 to 950

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

#FAFCF3
#F5F8E7
#EBF3C9
#dfef9b
#D1E86E
#C1E03E
#B1D322
#94B01C
#768D17
#566614
#36400D
Base = 300Lightest = 50 · #FAFCF3Darkest = 950 · #36400D
:root {
  --brand-50: #FAFCF3;
  --brand-100: #F5F8E7;
  --brand-200: #EBF3C9;
  --brand-300: #dfef9b;
  --brand-400: #D1E86E;
  --brand-500: #C1E03E;
  --brand-600: #B1D322;
  --brand-700: #94B01C;
  --brand-800: #768D17;
  --brand-900: #566614;
  --brand-950: #36400D;
  --brand: #dfef9b;
  --brand-ink: #000000;
}

Colors that work with #dfef9b

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#1921B3
Second voice, not a rival
Dark variant#5C6E12
Hover, pressed, headers
Light variant#F8FBE9
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 #dfef9b

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#AB9BEF
Analogous left#EFD59B
Analogous right#B5EF9B
Split-complement 1#9BB5EF
Split-complement 2#D59BEF
Triadic 1#9BDFEF
Triadic 2#EF9BDF
Tetradic#9BEFD5

RGB percentages

Red87.5%
Green93.7%
Blue60.8%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow35.1%
Key (black)6.3%

Color previews

#dfef9b text on a black background

contrast 16.96:1

Card sample

#dfef9b text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 239, 155, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 239, 155, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfef9b;
background: linear-gradient(135deg, #dfef9b, #A7EF9B);

Monochromatic scale

Palettes built from #dfef9b

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.

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

#dfef9b, answered

What color is #dfef9b?

#dfef9b is a light vivid green, closest to Pale Goldenrod (ΔE2000 6.7). It sits at 71° on the hue wheel with 72% saturation and 77% lightness, which reads as warm.

What is the RGB value of #dfef9b?

rgb(223, 239, 155) — 223 red, 239 green and 155 blue out of 255, or 87.5% / 93.7% / 60.8% by channel.

Is #dfef9b a light or a dark color?

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

Should I use black or white text on #dfef9b?

Black. It scores 16.96:1 against #dfef9b, versus 1.24:1 for white — AAA at any size.

What is the complementary color of #dfef9b?

#AB9BEF sits directly opposite on the wheel. Softer options are the split-complements #9BB5EF and #D59BEF, which give the same contrast with far less vibration.

What colors go well with #dfef9b?

For interface work: #F9FAF4 as the surface, #E4EDC0 for borders, #8C9B4B for secondary text, #1921B3 as an accent and #5C6E12 for hover and pressed states. For a palette, the analogous pair #EFD59B and #B5EF9B stays calm, while #AB9BEF is the loudest partner.

What is #dfef9b in CMYK for printing?

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

Is #dfef9b 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 #EFE09B; nudged cooler, #C0F09A.

Work with #dfef9b in the Color Lab