Skip to content

#defac5

a pale, electric green · neutral · closest name: Light Goldenrod Yellow

RGB
222, 250, 197
HSL
92°, 84%, 88%
CMYK
11, 0, 21, 2
Luminance
0.8793

At a glance

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

Hex
#defac5
Hue
92°
green
Saturation
84%
electric
Lightness
88%
pale
Brightness
98%
HSV value
Perceived
93%
weighted brightness
Luminance
0.8793
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Green
Tone
Electric
Best ink
Black
18.59:1
Closest name
Light Goldenrod Yellow
ΔE2000 8.3
Where it sits
Hue92° of 360°
Saturation84%
Lightness88%
Temperature
Warm ← → Cool51% 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#defac5
RGBrgb(222, 250, 197)
HSLhsl(92, 84%, 88%)
CMYKcmyk(11%, 0%, 21%, 2%)
LABlab(95.1 -18.2 22.5)
LCHlch(95.1 28.9 129.1)
OKLCHoklch(0.952 0.075 130.4)
Decimal14613189
Display P3color(display-p3 0.871 0.980 0.773)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#defac5 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#defac5 on black: 18.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF2C2
deuteranopia · #FBF0C7
tritanopia · #E0F5EB

Color scale — 50 to 950

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

#F7FCF2
#EFFAE6
#defac5
#C4F698
#A7F264
#89ED30
#75E113
#61BC10
#4E960D
#3B6D0E
#254409
Base = 200Lightest = 50 · #F7FCF2Darkest = 950 · #254409
:root {
  --brand-50: #F7FCF2;
  --brand-100: #EFFAE6;
  --brand-200: #defac5;
  --brand-300: #C4F698;
  --brand-400: #A7F264;
  --brand-500: #89ED30;
  --brand-600: #75E113;
  --brand-700: #61BC10;
  --brand-800: #4E960D;
  --brand-900: #3B6D0E;
  --brand-950: #254409;
  --brand: #defac5;
  --brand-ink: #000000;
}

Colors that work with #defac5

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#F7FAF4
Tinted page background
Border#D5EDC0
Hairlines and dividers
Muted text#709B4B
Captions on the surface
Accent#3E0DBF
Second voice, not a rival
Dark variant#3D750A
Hover, pressed, headers
Light variant#F2FDE8
Selected rows, tints
Dark surface#1C2414
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 #defac5

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#E1C5FA
Analogous left#F8FAC5
Analogous right#C5FAC6
Split-complement 1#C6C5FA
Split-complement 2#FAC5F8
Triadic 1#C5DEFA
Triadic 2#FAC5DE
Tetradic#C5F8FA

RGB percentages

Red87.1%
Green98.0%
Blue77.3%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow21.2%
Key (black)2.0%

Color previews

#defac5 text on a black background

contrast 18.59:1

Card sample

#defac5 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #defac5

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.

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

#defac5, answered

What color is #defac5?

#defac5 is a pale electric green, closest to Light Goldenrod Yellow (ΔE2000 8.3). It sits at 92° on the hue wheel with 84% saturation and 88% lightness, which reads as neutral.

What is the RGB value of #defac5?

rgb(222, 250, 197) — 222 red, 250 green and 197 blue out of 255, or 87.1% / 98% / 77.3% by channel.

Is #defac5 a light or a dark color?

It is a light color. Relative luminance is 0.8793 and perceived brightness is 93%, so black text on it reaches 18.59:1.

Should I use black or white text on #defac5?

Black. It scores 18.59:1 against #defac5, versus 1.13:1 for white — AAA at any size.

What is the complementary color of #defac5?

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

What colors go well with #defac5?

For interface work: #F7FAF4 as the surface, #D5EDC0 for borders, #709B4B for secondary text, #3E0DBF as an accent and #3D750A for hover and pressed states. For a palette, the analogous pair #F8FAC5 and #C5FAC6 stays calm, while #E1C5FA is the loudest partner.

What is #defac5 in CMYK for printing?

cmyk(11%, 0%, 21%, 2%). 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 #defac5 warm or cool?

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

Work with #defac5 in the Color Lab