Skip to content

#cfef7c

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

RGB
207, 239, 124
HSL
77°, 78%, 71%
CMYK
13, 0, 48, 6
Luminance
0.7645

At a glance

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

Hex
#cfef7c
Hue
77°
green
Saturation
78%
electric
Lightness
71%
light
Brightness
94%
HSV value
Perceived
86%
weighted brightness
Luminance
0.7645
WCAG relative
Temperature
Warm
39/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.29:1
Closest name
Green Yellow
ΔE2000 9
Where it sits
Hue77° of 360°
Saturation78%
Lightness71%
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#cfef7c
RGBrgb(207, 239, 124)
HSLhsl(77, 78%, 71%)
CMYKcmyk(13%, 0%, 48%, 6%)
LABlab(90.1 -27.7 51.8)
LCHlch(90.1 58.8 118.1)
OKLCHoklch(0.905 0.146 122.2)
Decimal13627260
Display P3color(display-p3 0.812 0.937 0.486)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfef7c on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#cfef7c on black: 16.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBE372
deuteranopia · #F7E382
tritanopia · #D7E5D4

Color scale — 50 to 950

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

#F9FCF3
#F4F9E6
#E8F5C7
#DAF39B
#cfef7c
#B6E737
#A5DA1B
#89B616
#6E9112
#516911
#32420B
Base = 400Lightest = 50 · #F9FCF3Darkest = 950 · #32420B
:root {
  --brand-50: #F9FCF3;
  --brand-100: #F4F9E6;
  --brand-200: #E8F5C7;
  --brand-300: #DAF39B;
  --brand-400: #cfef7c;
  --brand-500: #B6E737;
  --brand-600: #A5DA1B;
  --brand-700: #89B616;
  --brand-800: #6E9112;
  --brand-900: #516911;
  --brand-950: #32420B;
  --brand: #cfef7c;
  --brand-ink: #000000;
}

Colors that work with #cfef7c

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#7D79F2
Second voice, not a rival
Dark variant#56720E
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 #cfef7c

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#9C7CEF
Analogous left#EFD67C
Analogous right#96EF7C
Split-complement 1#7C96EF
Split-complement 2#D67CEF
Triadic 1#7CCFEF
Triadic 2#EF7CCF
Tetradic#7CEFD6

RGB percentages

Red81.2%
Green93.7%
Blue48.6%

CMYK percentages

Cyan13.4%
Magenta0.0%
Yellow48.1%
Key (black)6.3%

Color previews

#cfef7c text on a black background

contrast 16.29:1

Card sample

#cfef7c text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfef7c

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.

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

#cfef7c, answered

What color is #cfef7c?

#cfef7c is a light electric green, closest to Green Yellow (ΔE2000 9). It sits at 77° on the hue wheel with 78% saturation and 71% lightness, which reads as warm.

What is the RGB value of #cfef7c?

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

Is #cfef7c a light or a dark color?

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

Should I use black or white text on #cfef7c?

Black. It scores 16.29:1 against #cfef7c, versus 1.29:1 for white — AAA at any size.

What is the complementary color of #cfef7c?

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

What colors go well with #cfef7c?

For interface work: #F9FAF4 as the surface, #E0EDC0 for borders, #859B4B for secondary text, #7D79F2 as an accent and #56720E for hover and pressed states. For a palette, the analogous pair #EFD67C and #96EF7C stays calm, while #9C7CEF is the loudest partner.

What is #cfef7c in CMYK for printing?

cmyk(13%, 0%, 48%, 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 #cfef7c 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 #EFE57C; nudged cooler, #A4F07B.

Work with #cfef7c in the Color Lab