Skip to content

#cef581

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

RGB
206, 245, 129
HSL
80°, 85%, 73%
CMYK
16, 0, 47, 4
Luminance
0.8001

At a glance

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

Hex
#cef581
Hue
80°
green
Saturation
85%
electric
Lightness
73%
light
Brightness
96%
HSV value
Perceived
88%
weighted brightness
Luminance
0.8001
WCAG relative
Temperature
Warm
42/100 cool
Color family
Green
Tone
Electric
Best ink
Black
17.00:1
Closest name
Green Yellow
ΔE2000 8.4
Where it sits
Hue80° of 360°
Saturation85%
Lightness73%
Temperature
Warm ← → Cool42% 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#cef581
RGBrgb(206, 245, 129)
HSLhsl(80, 85%, 73%)
CMYKcmyk(16%, 0%, 47%, 4%)
LABlab(91.7 -30.4 51.4)
LCHlch(91.7 59.7 120.6)
OKLCHoklch(0.918 0.150 124.6)
Decimal13563265
Display P3color(display-p3 0.808 0.961 0.506)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cef581 on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#cef581 on black: 17.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE877
deuteranopia · #FBE788
tritanopia · #D5EBDA

Color scale — 50 to 950

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

#F9FCF2
#F3FAE5
#E6F7C5
#cef581
#C2F363
#AEEF2F
#9DE312
#82BD0F
#68970C
#4D6D0D
#304408
Base = 300Lightest = 50 · #F9FCF2Darkest = 950 · #304408
:root {
  --brand-50: #F9FCF2;
  --brand-100: #F3FAE5;
  --brand-200: #E6F7C5;
  --brand-300: #cef581;
  --brand-400: #C2F363;
  --brand-500: #AEEF2F;
  --brand-600: #9DE312;
  --brand-700: #82BD0F;
  --brand-800: #68970C;
  --brand-900: #4D6D0D;
  --brand-950: #304408;
  --brand: #cef581;
  --brand-ink: #000000;
}

Colors that work with #cef581

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#DEEDC0
Hairlines and dividers
Muted text#809B4B
Captions on the surface
Accent#897EF8
Second voice, not a rival
Dark variant#527609
Hover, pressed, headers
Light variant#F6FDE7
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 #cef581

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#A881F5
Analogous left#F5E281
Analogous right#94F581
Split-complement 1#8194F5
Split-complement 2#E281F5
Triadic 1#81CEF5
Triadic 2#F581CE
Tetradic#81F5E2

RGB percentages

Red80.8%
Green96.1%
Blue50.6%

CMYK percentages

Cyan15.9%
Magenta0.0%
Yellow47.3%
Key (black)3.9%

Color previews

#cef581 text on a black background

contrast 17.00:1

Card sample

#cef581 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 245, 129, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 245, 129, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cef581;
background: linear-gradient(135deg, #cef581, #81F581);

Monochromatic scale

Palettes built from #cef581

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.

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

#cef581, answered

What color is #cef581?

#cef581 is a light electric green, closest to Green Yellow (ΔE2000 8.4). It sits at 80° on the hue wheel with 85% saturation and 73% lightness, which reads as warm.

What is the RGB value of #cef581?

rgb(206, 245, 129) — 206 red, 245 green and 129 blue out of 255, or 80.8% / 96.1% / 50.6% by channel.

Is #cef581 a light or a dark color?

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

Should I use black or white text on #cef581?

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

What is the complementary color of #cef581?

#A881F5 sits directly opposite on the wheel. Softer options are the split-complements #8194F5 and #E281F5, which give the same contrast with far less vibration.

What colors go well with #cef581?

For interface work: #F8FAF4 as the surface, #DEEDC0 for borders, #809B4B for secondary text, #897EF8 as an accent and #527609 for hover and pressed states. For a palette, the analogous pair #F5E281 and #94F581 stays calm, while #A881F5 is the loudest partner.

What is #cef581 in CMYK for printing?

cmyk(16%, 0%, 47%, 4%). 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 #cef581 warm or cool?

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

Work with #cef581 in the Color Lab