Skip to content

#d6f18f

a light, electric green · warm · closest name: Khaki

RGB
214, 241, 143
HSL
77°, 78%, 75%
CMYK
11, 0, 41, 6
Luminance
0.7919

At a glance

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

Hex
#d6f18f
Hue
77°
green
Saturation
78%
electric
Lightness
75%
light
Brightness
95%
HSV value
Perceived
88%
weighted brightness
Luminance
0.7919
WCAG relative
Temperature
Warm
39/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.84:1
Closest name
Khaki
ΔE2000 8.9
Where it sits
Hue77° of 360°
Saturation78%
Lightness75%
Temperature
Warm ← → Cool39% 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#d6f18f
RGBrgb(214, 241, 143)
HSLhsl(77, 78%, 75%)
CMYKcmyk(11%, 0%, 41%, 6%)
LABlab(91.3 -24.0 44.4)
LCHlch(91.3 50.4 118.4)
OKLCHoklch(0.917 0.127 121.5)
Decimal14086543
Display P3color(display-p3 0.839 0.945 0.561)

Copy-ready code

/* CSS */
color: #d6f18f;
background-color: #d6f18f;
/* Tailwind (arbitrary) */
class="text-[#d6f18f] bg-[#d6f18f]"
/* SCSS */
$brand: #d6f18f;
/* SwiftUI */
Color(red: 0.839, green: 0.945, blue: 0.561)
/* Android */
Color.parseColor("#d6f18f")
/* Flutter */
Color(0xFFD6F18F)
/* Python / OpenCV (BGR) */
(143, 241, 214)

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

Accessibility — WCAG contrast

Aa
#d6f18f on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#d6f18f on black: 16.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FCE787
deuteranopia · #F8E694
tritanopia · #DEE8D9

Color scale — 50 to 950

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

#F9FCF3
#F4F9E6
#E8F5C7
#d6f18f
#C8EC69
#B6E638
#A5DA1B
#8AB517
#6E9112
#516911
#33420B
Base = 300Lightest = 50 · #F9FCF3Darkest = 950 · #33420B
:root {
  --brand-50: #F9FCF3;
  --brand-100: #F4F9E6;
  --brand-200: #E8F5C7;
  --brand-300: #d6f18f;
  --brand-400: #C8EC69;
  --brand-500: #B6E638;
  --brand-600: #A5DA1B;
  --brand-700: #8AB517;
  --brand-800: #6E9112;
  --brand-900: #516911;
  --brand-950: #33420B;
  --brand: #d6f18f;
  --brand-ink: #000000;
}

Colors that work with #d6f18f

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#E0EDC0
Hairlines and dividers
Muted text#859B4B
Captions on the surface
Accent#1712BA
Second voice, not a rival
Dark variant#56710E
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 #d6f18f

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#AA8FF1
Analogous left#F1DB8F
Analogous right#A5F18F
Split-complement 1#8FA5F1
Split-complement 2#DB8FF1
Triadic 1#8FD6F1
Triadic 2#F18FD6
Tetradic#8FF1DB

RGB percentages

Red83.9%
Green94.5%
Blue56.1%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow40.7%
Key (black)5.5%

Color previews

#d6f18f text on a black background

contrast 16.84:1

Card sample

#d6f18f text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(214, 241, 143, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(214, 241, 143, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d6f18f;
background: linear-gradient(135deg, #d6f18f, #95F18F);

Monochromatic scale

Palettes built from #d6f18f

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.

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

#d6f18f, answered

What color is #d6f18f?

#d6f18f is a light electric green, closest to Khaki (ΔE2000 8.9). It sits at 77° on the hue wheel with 78% saturation and 75% lightness, which reads as warm.

What is the RGB value of #d6f18f?

rgb(214, 241, 143) — 214 red, 241 green and 143 blue out of 255, or 83.9% / 94.5% / 56.1% by channel.

Is #d6f18f a light or a dark color?

It is a light color. Relative luminance is 0.7919 and perceived brightness is 88%, so black text on it reaches 16.84:1.

Should I use black or white text on #d6f18f?

Black. It scores 16.84:1 against #d6f18f, versus 1.25:1 for white — AAA at any size.

What is the complementary color of #d6f18f?

#AA8FF1 sits directly opposite on the wheel. Softer options are the split-complements #8FA5F1 and #DB8FF1, which give the same contrast with far less vibration.

What colors go well with #d6f18f?

For interface work: #F9FAF4 as the surface, #E0EDC0 for borders, #859B4B for secondary text, #1712BA as an accent and #56710E for hover and pressed states. For a palette, the analogous pair #F1DB8F and #A5F18F stays calm, while #AA8FF1 is the loudest partner.

What is #d6f18f in CMYK for printing?

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

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

Work with #d6f18f in the Color Lab