Skip to content

#cfef89

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

RGB
207, 239, 137
HSL
79°, 76%, 74%
CMYK
13, 0, 43, 6
Luminance
0.7680

At a glance

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

Hex
#cfef89
Hue
79°
green
Saturation
76%
electric
Lightness
74%
light
Brightness
94%
HSV value
Perceived
86%
weighted brightness
Luminance
0.7680
WCAG relative
Temperature
Warm
41/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.36:1
Closest name
Khaki
ΔE2000 9.8
Where it sits
Hue79° of 360°
Saturation76%
Lightness74%
Temperature
Warm ← → Cool41% 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#cfef89
RGBrgb(207, 239, 137)
HSLhsl(79, 76%, 74%)
CMYKcmyk(13%, 0%, 43%, 6%)
LABlab(90.2 -26.3 45.8)
LCHlch(90.2 52.8 119.9)
OKLCHoklch(0.907 0.133 123.3)
Decimal13627273
Display P3color(display-p3 0.812 0.937 0.537)

Copy-ready code

/* CSS */
color: #cfef89;
background-color: #cfef89;
/* Tailwind (arbitrary) */
class="text-[#cfef89] bg-[#cfef89]"
/* SCSS */
$brand: #cfef89;
/* SwiftUI */
Color(red: 0.812, green: 0.937, blue: 0.537)
/* Android */
Color.parseColor("#cfef89")
/* Flutter */
Color(0xFFCFEF89)
/* Python / OpenCV (BGR) */
(137, 239, 207)

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

Accessibility — WCAG contrast

Aa
#cfef89 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#cfef89 on black: 16.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FAE481
deuteranopia · #F5E38E
tritanopia · #D6E6D6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cfef89 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
#F3F9E7
#E6F4C8
#cfef89
#C3EB6B
#AFE439
#9DD81D
#83B418
#699014
#4D6812
#30410B
Base = 300Lightest = 50 · #F9FCF3Darkest = 950 · #30410B
:root {
  --brand-50: #F9FCF3;
  --brand-100: #F3F9E7;
  --brand-200: #E6F4C8;
  --brand-300: #cfef89;
  --brand-400: #C3EB6B;
  --brand-500: #AFE439;
  --brand-600: #9DD81D;
  --brand-700: #83B418;
  --brand-800: #699014;
  --brand-900: #4D6812;
  --brand-950: #30410B;
  --brand: #cfef89;
  --brand-ink: #000000;
}

Colors that work with #cfef89

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#DFEDC0
Hairlines and dividers
Muted text#829B4B
Captions on the surface
Accent#1E14B8
Second voice, not a rival
Dark variant#52700F
Hover, pressed, headers
Light variant#F6FCE9
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 #cfef89

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#A989EF
Analogous left#EFDC89
Analogous right#9CEF89
Split-complement 1#899CEF
Split-complement 2#DC89EF
Triadic 1#89CFEF
Triadic 2#EF89CF
Tetradic#89EFDC

RGB percentages

Red81.2%
Green93.7%
Blue53.7%

CMYK percentages

Cyan13.4%
Magenta0.0%
Yellow42.7%
Key (black)6.3%

Color previews

#cfef89 text on a black background

contrast 16.36:1

Card sample

#cfef89 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 239, 137, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 239, 137, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfef89;
background: linear-gradient(135deg, #cfef89, #8BEF89);

Monochromatic scale

Palettes built from #cfef89

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.

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

#cfef89, answered

What color is #cfef89?

#cfef89 is a light electric green, closest to Khaki (ΔE2000 9.8). It sits at 79° on the hue wheel with 76% saturation and 74% lightness, which reads as warm.

What is the RGB value of #cfef89?

rgb(207, 239, 137) — 207 red, 239 green and 137 blue out of 255, or 81.2% / 93.7% / 53.7% by channel.

Is #cfef89 a light or a dark color?

It is a light color. Relative luminance is 0.7680 and perceived brightness is 86%, so black text on it reaches 16.36:1.

Should I use black or white text on #cfef89?

Black. It scores 16.36:1 against #cfef89, versus 1.28:1 for white — AAA at any size.

What is the complementary color of #cfef89?

#A989EF sits directly opposite on the wheel. Softer options are the split-complements #899CEF and #DC89EF, which give the same contrast with far less vibration.

What colors go well with #cfef89?

For interface work: #F8FAF4 as the surface, #DFEDC0 for borders, #829B4B for secondary text, #1E14B8 as an accent and #52700F for hover and pressed states. For a palette, the analogous pair #EFDC89 and #9CEF89 stays calm, while #A989EF is the loudest partner.

What is #cfef89 in CMYK for printing?

cmyk(13%, 0%, 43%, 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 #cfef89 warm or cool?

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

Work with #cfef89 in the Color Lab