Skip to content

#d2f07f

a light, electric green · warm · closest name: Green Yellow

RGB
210, 240, 127
HSL
76°, 79%, 72%
CMYK
13, 0, 47, 6
Luminance
0.7755

At a glance

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

Hex
#d2f07f
Hue
76°
green
Saturation
79%
electric
Lightness
72%
light
Brightness
94%
HSV value
Perceived
87%
weighted brightness
Luminance
0.7755
WCAG relative
Temperature
Warm
38/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.51:1
Closest name
Green Yellow
ΔE2000 9.3
Where it sits
Hue76° of 360°
Saturation79%
Lightness72%
Temperature
Warm ← → Cool38% 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#d2f07f
RGBrgb(210, 240, 127)
HSLhsl(76, 79%, 72%)
CMYKcmyk(13%, 0%, 47%, 6%)
LABlab(90.6 -26.8 51.1)
LCHlch(90.6 57.6 117.6)
OKLCHoklch(0.909 0.143 121.5)
Decimal13824127
Display P3color(display-p3 0.824 0.941 0.498)

Copy-ready code

/* CSS */
color: #d2f07f;
background-color: #d2f07f;
/* Tailwind (arbitrary) */
class="text-[#d2f07f] bg-[#d2f07f]"
/* SCSS */
$brand: #d2f07f;
/* SwiftUI */
Color(red: 0.824, green: 0.941, blue: 0.498)
/* Android */
Color.parseColor("#d2f07f")
/* Flutter */
Color(0xFFD2F07F)
/* Python / OpenCV (BGR) */
(127, 240, 210)

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

Accessibility — WCAG contrast

Aa
#d2f07f on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#d2f07f on black: 16.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FCE575
deuteranopia · #F8E485
tritanopia · #DAE6D6

Color scale — 50 to 950

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

#FAFCF3
#F4F9E6
#E9F5C7
#DCF39B
#d2f07f
#B8E736
#A8DB1A
#8CB715
#709211
#526A11
#33420A
Base = 400Lightest = 50 · #FAFCF3Darkest = 950 · #33420A
:root {
  --brand-50: #FAFCF3;
  --brand-100: #F4F9E6;
  --brand-200: #E9F5C7;
  --brand-300: #DCF39B;
  --brand-400: #d2f07f;
  --brand-500: #B8E736;
  --brand-600: #A8DB1A;
  --brand-700: #8CB715;
  --brand-800: #709211;
  --brand-900: #526A11;
  --brand-950: #33420A;
  --brand: #d2f07f;
  --brand-ink: #000000;
}

Colors that work with #d2f07f

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#E1EDC0
Hairlines and dividers
Muted text#869B4B
Captions on the surface
Accent#7E7CF3
Second voice, not a rival
Dark variant#57720D
Hover, pressed, headers
Light variant#F7FCE8
Selected rows, tints
Dark surface#202414
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 #d2f07f

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#9D7FF0
Analogous left#F0D57F
Analogous right#9AF07F
Split-complement 1#7F9AF0
Split-complement 2#D57FF0
Triadic 1#7FD2F0
Triadic 2#F07FD2
Tetradic#7FF0D5

RGB percentages

Red82.4%
Green94.1%
Blue49.8%

CMYK percentages

Cyan12.5%
Magenta0.0%
Yellow47.1%
Key (black)5.9%

Color previews

#d2f07f text on a black background

contrast 16.51:1

Card sample

#d2f07f text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 240, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 240, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2f07f;
background: linear-gradient(135deg, #d2f07f, #87F07F);

Monochromatic scale

Palettes built from #d2f07f

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.

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

#d2f07f, answered

What color is #d2f07f?

#d2f07f is a light electric green, closest to Green Yellow (ΔE2000 9.3). It sits at 76° on the hue wheel with 79% saturation and 72% lightness, which reads as warm.

What is the RGB value of #d2f07f?

rgb(210, 240, 127) — 210 red, 240 green and 127 blue out of 255, or 82.4% / 94.1% / 49.8% by channel.

Is #d2f07f a light or a dark color?

It is a light color. Relative luminance is 0.7755 and perceived brightness is 87%, so black text on it reaches 16.51:1.

Should I use black or white text on #d2f07f?

Black. It scores 16.51:1 against #d2f07f, versus 1.27:1 for white — AAA at any size.

What is the complementary color of #d2f07f?

#9D7FF0 sits directly opposite on the wheel. Softer options are the split-complements #7F9AF0 and #D57FF0, which give the same contrast with far less vibration.

What colors go well with #d2f07f?

For interface work: #F9FAF4 as the surface, #E1EDC0 for borders, #869B4B for secondary text, #7E7CF3 as an accent and #57720D for hover and pressed states. For a palette, the analogous pair #F0D57F and #9AF07F stays calm, while #9D7FF0 is the loudest partner.

What is #d2f07f in CMYK for printing?

cmyk(13%, 0%, 47%, 6%). 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 #d2f07f warm or cool?

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

Work with #d2f07f in the Color Lab