Skip to content

#defab4

a light, electric green · neutral · closest name: Pale Goldenrod

RGB
222, 250, 180
HSL
84°, 88%, 84%
CMYK
11, 0, 28, 2
Luminance
0.8720

At a glance

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

Hex
#defab4
Hue
84°
green
Saturation
88%
electric
Lightness
84%
light
Brightness
98%
HSV value
Perceived
92%
weighted brightness
Luminance
0.8720
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Green
Tone
Electric
Best ink
Black
18.44:1
Closest name
Pale Goldenrod
ΔE2000 8.9
Where it sits
Hue84° of 360°
Saturation88%
Lightness84%
Temperature
Warm ← → Cool45% 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#defab4
RGBrgb(222, 250, 180)
HSLhsl(84, 88%, 84%)
CMYKcmyk(11%, 0%, 28%, 2%)
LABlab(94.8 -20.7 30.7)
LCHlch(94.8 37.0 124.1)
OKLCHoklch(0.948 0.095 125.9)
Decimal14613172
Display P3color(display-p3 0.871 0.980 0.706)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#defab4 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#defab4 on black: 18.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF1AF
deuteranopia · #FEF0B7
tritanopia · #E2F3E8

Color scale — 50 to 950

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

#F8FDF2
#F2FAE5
#defab4
#D1F896
#BAF461
#A2F12D
#90E50F
#78BF0D
#60990A
#476E0C
#2C4507
Base = 200Lightest = 50 · #F8FDF2Darkest = 950 · #2C4507
:root {
  --brand-50: #F8FDF2;
  --brand-100: #F2FAE5;
  --brand-200: #defab4;
  --brand-300: #D1F896;
  --brand-400: #BAF461;
  --brand-500: #A2F12D;
  --brand-600: #90E50F;
  --brand-700: #78BF0D;
  --brand-800: #60990A;
  --brand-900: #476E0C;
  --brand-950: #2C4507;
  --brand: #defab4;
  --brand-ink: #000000;
}

Colors that work with #defab4

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#DBEDC0
Hairlines and dividers
Muted text#7B9B4B
Captions on the surface
Accent#2408C4
Second voice, not a rival
Dark variant#4B7808
Hover, pressed, headers
Light variant#F4FDE7
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 #defab4

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#D0B4FA
Analogous left#FAF3B4
Analogous right#BBFAB4
Split-complement 1#B4BBFA
Split-complement 2#F3B4FA
Triadic 1#B4DEFA
Triadic 2#FAB4DE
Tetradic#B4FAF3

RGB percentages

Red87.1%
Green98.0%
Blue70.6%

CMYK percentages

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

Color previews

#defab4 text on a black background

contrast 18.44:1

Card sample

#defab4 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #defab4

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.

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

#defab4, answered

What color is #defab4?

#defab4 is a light electric green, closest to Pale Goldenrod (ΔE2000 8.9). It sits at 84° on the hue wheel with 88% saturation and 84% lightness, which reads as neutral.

What is the RGB value of #defab4?

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

Is #defab4 a light or a dark color?

It is a light color. Relative luminance is 0.8720 and perceived brightness is 92%, so black text on it reaches 18.44:1.

Should I use black or white text on #defab4?

Black. It scores 18.44:1 against #defab4, versus 1.14:1 for white — AAA at any size.

What is the complementary color of #defab4?

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

What colors go well with #defab4?

For interface work: #F8FAF4 as the surface, #DBEDC0 for borders, #7B9B4B for secondary text, #2408C4 as an accent and #4B7808 for hover and pressed states. For a palette, the analogous pair #FAF3B4 and #BBFAB4 stays calm, while #D0B4FA is the loudest partner.

What is #defab4 in CMYK for printing?

cmyk(11%, 0%, 28%, 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 #defab4 warm or cool?

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

Work with #defab4 in the Color Lab