Skip to content

#defba8

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

RGB
222, 251, 168
HSL
81°, 91%, 82%
CMYK
12, 0, 33, 2
Luminance
0.8735

At a glance

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

Hex
#defba8
Hue
81°
green
Saturation
91%
electric
Lightness
82%
light
Brightness
98%
HSV value
Perceived
92%
weighted brightness
Luminance
0.8735
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Green
Tone
Electric
Best ink
Black
18.47:1
Closest name
Pale Goldenrod
ΔE2000 9.3
Where it sits
Hue81° of 360°
Saturation91%
Lightness82%
Temperature
Warm ← → Cool43% 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#defba8
RGBrgb(222, 251, 168)
HSLhsl(81, 91%, 82%)
CMYKcmyk(12%, 0%, 33%, 2%)
LABlab(94.9 -22.8 36.8)
LCHlch(94.9 43.3 121.8)
OKLCHoklch(0.948 0.110 124.1)
Decimal14613416
Display P3color(display-p3 0.871 0.984 0.659)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#defba8 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#defba8 on black: 18.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF1A2
deuteranopia · #FFF0AC
tritanopia · #E4F3E6

Color scale — 50 to 950

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

#F9FDF2
#F3FBE5
#E6F9C3
#defba8
#C2F85E
#ADF528
#9CEA0B
#82C309
#689C07
#4D710A
#304606
Base = 300Lightest = 50 · #F9FDF2Darkest = 950 · #304606
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F3FBE5;
  --brand-200: #E6F9C3;
  --brand-300: #defba8;
  --brand-400: #C2F85E;
  --brand-500: #ADF528;
  --brand-600: #9CEA0B;
  --brand-700: #82C309;
  --brand-800: #689C07;
  --brand-900: #4D710A;
  --brand-950: #304606;
  --brand: #defba8;
  --brand-ink: #000000;
}

Colors that work with #defba8

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#DDEDC0
Hairlines and dividers
Muted text#7F9B4B
Captions on the surface
Accent#1904C8
Second voice, not a rival
Dark variant#517A06
Hover, pressed, headers
Light variant#F6FEE7
Selected rows, tints
Dark surface#1F2414
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 #defba8

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#C5A8FB
Analogous left#FBEFA8
Analogous right#B5FBA8
Split-complement 1#A8B5FB
Split-complement 2#EFA8FB
Triadic 1#A8DEFB
Triadic 2#FBA8DE
Tetradic#A8FBEF

RGB percentages

Red87.1%
Green98.4%
Blue65.9%

CMYK percentages

Cyan11.6%
Magenta0.0%
Yellow33.1%
Key (black)1.6%

Color previews

#defba8 text on a black background

contrast 18.47:1

Card sample

#defba8 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #defba8

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.

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

#defba8, answered

What color is #defba8?

#defba8 is a light electric green, closest to Pale Goldenrod (ΔE2000 9.3). It sits at 81° on the hue wheel with 91% saturation and 82% lightness, which reads as neutral.

What is the RGB value of #defba8?

rgb(222, 251, 168) — 222 red, 251 green and 168 blue out of 255, or 87.1% / 98.4% / 65.9% by channel.

Is #defba8 a light or a dark color?

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

Should I use black or white text on #defba8?

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

What is the complementary color of #defba8?

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

What colors go well with #defba8?

For interface work: #F8FAF4 as the surface, #DDEDC0 for borders, #7F9B4B for secondary text, #1904C8 as an accent and #517A06 for hover and pressed states. For a palette, the analogous pair #FBEFA8 and #B5FBA8 stays calm, while #C5A8FB is the loudest partner.

What is #defba8 in CMYK for printing?

cmyk(12%, 0%, 33%, 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 #defba8 warm or cool?

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

Work with #defba8 in the Color Lab