Skip to content

#cef2ab

a light, vivid green · neutral · closest name: Pale Green

RGB
206, 242, 171
HSL
90°, 73%, 81%
CMYK
15, 0, 29, 5
Luminance
0.7957

At a glance

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

Hex
#cef2ab
Hue
90°
green
Saturation
73%
vivid
Lightness
81%
light
Brightness
95%
HSV value
Perceived
88%
weighted brightness
Luminance
0.7957
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
16.91:1
Closest name
Pale Green
ΔE2000 9.1
Where it sits
Hue90° of 360°
Saturation73%
Lightness81%
Temperature
Warm ← → Cool50% 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#cef2ab
RGBrgb(206, 242, 171)
HSLhsl(90, 73%, 81%)
CMYKcmyk(15%, 0%, 29%, 5%)
LABlab(91.5 -23.8 30.5)
LCHlch(91.5 38.7 127.9)
OKLCHoklch(0.918 0.100 130.0)
Decimal13562539
Display P3color(display-p3 0.808 0.949 0.671)

Copy-ready code

/* CSS */
color: #cef2ab;
background-color: #cef2ab;
/* Tailwind (arbitrary) */
class="text-[#cef2ab] bg-[#cef2ab]"
/* SCSS */
$brand: #cef2ab;
/* SwiftUI */
Color(red: 0.808, green: 0.949, blue: 0.671)
/* Android */
Color.parseColor("#cef2ab")
/* Flutter */
Color(0xFFCEF2AB)
/* Python / OpenCV (BGR) */
(171, 242, 206)

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

Accessibility — WCAG contrast

Aa
#cef2ab on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#cef2ab on black: 16.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F9E8A6
deuteranopia · #F3E6AE
tritanopia · #D0ECDF

Color scale — 50 to 950

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

#F7FCF3
#F0F8E7
#DEF3C8
#cef2ab
#AAE86D
#8EE13D
#79D421
#65B11B
#518D16
#3D6614
#26400C
Base = 300Lightest = 50 · #F7FCF3Darkest = 950 · #26400C
:root {
  --brand-50: #F7FCF3;
  --brand-100: #F0F8E7;
  --brand-200: #DEF3C8;
  --brand-300: #cef2ab;
  --brand-400: #AAE86D;
  --brand-500: #8EE13D;
  --brand-600: #79D421;
  --brand-700: #65B11B;
  --brand-800: #518D16;
  --brand-900: #3D6614;
  --brand-950: #26400C;
  --brand: #cef2ab;
  --brand-ink: #000000;
}

Colors that work with #cef2ab

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#F7FAF4
Tinted page background
Border#D6EDC0
Hairlines and dividers
Muted text#729B4B
Captions on the surface
Accent#3F17B5
Second voice, not a rival
Dark variant#3F6E11
Hover, pressed, headers
Light variant#F2FCE9
Selected rows, tints
Dark surface#1C2414
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 #cef2ab

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#CFABF2
Analogous left#F2F2AB
Analogous right#ABF2AC
Split-complement 1#ACABF2
Split-complement 2#F2ABF2
Triadic 1#ABCEF2
Triadic 2#F2ABCE
Tetradic#ABF2F2

RGB percentages

Red80.8%
Green94.9%
Blue67.1%

CMYK percentages

Cyan14.9%
Magenta0.0%
Yellow29.3%
Key (black)5.1%

Color previews

#cef2ab text on a black background

contrast 16.91:1

Card sample

#cef2ab text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 242, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 242, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cef2ab;
background: linear-gradient(135deg, #cef2ab, #ABF2B7);

Monochromatic scale

Palettes built from #cef2ab

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.

#cef2ab 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

Converts to four-color process without much drama. Proof it anyway.

#cef2ab, answered

What color is #cef2ab?

#cef2ab is a light vivid green, closest to Pale Green (ΔE2000 9.1). It sits at 90° on the hue wheel with 73% saturation and 81% lightness, which reads as neutral.

What is the RGB value of #cef2ab?

rgb(206, 242, 171) — 206 red, 242 green and 171 blue out of 255, or 80.8% / 94.9% / 67.1% by channel.

Is #cef2ab a light or a dark color?

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

Should I use black or white text on #cef2ab?

Black. It scores 16.91:1 against #cef2ab, versus 1.24:1 for white — AAA at any size.

What is the complementary color of #cef2ab?

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

What colors go well with #cef2ab?

For interface work: #F7FAF4 as the surface, #D6EDC0 for borders, #729B4B for secondary text, #3F17B5 as an accent and #3F6E11 for hover and pressed states. For a palette, the analogous pair #F2F2AB and #ABF2AC stays calm, while #CFABF2 is the loudest partner.

What is #cef2ab in CMYK for printing?

cmyk(15%, 0%, 29%, 5%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cef2ab warm or cool?

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

Work with #cef2ab in the Color Lab