Skip to content

#cceb71

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

RGB
204, 235, 113
HSL
75°, 75%, 68%
CMYK
13, 0, 52, 8
Luminance
0.7345

At a glance

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

Hex
#cceb71
Hue
75°
green
Saturation
75%
electric
Lightness
68%
light
Brightness
92%
HSV value
Perceived
84%
weighted brightness
Luminance
0.7345
WCAG relative
Temperature
Warm
38/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.69:1
Closest name
Green Yellow
ΔE2000 8.7
Where it sits
Hue75° of 360°
Saturation75%
Lightness68%
Temperature
Warm ← → Cool38% 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#cceb71
RGBrgb(204, 235, 113)
HSLhsl(75, 75%, 68%)
CMYKcmyk(13%, 0%, 52%, 8%)
LABlab(88.7 -28.0 55.2)
LCHlch(88.7 61.9 116.9)
OKLCHoklch(0.892 0.152 121.4)
Decimal13429617
Display P3color(display-p3 0.800 0.922 0.443)

Copy-ready code

/* CSS */
color: #cceb71;
background-color: #cceb71;
/* Tailwind (arbitrary) */
class="text-[#cceb71] bg-[#cceb71]"
/* SCSS */
$brand: #cceb71;
/* SwiftUI */
Color(red: 0.800, green: 0.922, blue: 0.443)
/* Android */
Color.parseColor("#cceb71")
/* Flutter */
Color(0xFFCCEB71)
/* Python / OpenCV (BGR) */
(113, 235, 204)

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

Accessibility — WCAG contrast

Aa
#cceb71 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#cceb71 on black: 15.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F7DF65
deuteranopia · #F3DF78
tritanopia · #D5E1D0

Color scale — 50 to 950

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

#FAFCF3
#F4F9E7
#E9F4C8
#DCF19D
#cceb71
#B8E33A
#A8D71E
#8CB319
#708F14
#526813
#33410C
Base = 400Lightest = 50 · #FAFCF3Darkest = 950 · #33410C
:root {
  --brand-50: #FAFCF3;
  --brand-100: #F4F9E7;
  --brand-200: #E9F4C8;
  --brand-300: #DCF19D;
  --brand-400: #cceb71;
  --brand-500: #B8E33A;
  --brand-600: #A8D71E;
  --brand-700: #8CB319;
  --brand-800: #708F14;
  --brand-900: #526813;
  --brand-950: #33410C;
  --brand: #cceb71;
  --brand-ink: #000000;
}

Colors that work with #cceb71

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#E1EDC0
Hairlines and dividers
Muted text#879B4B
Captions on the surface
Accent#6E6EEE
Second voice, not a rival
Dark variant#577010
Hover, pressed, headers
Light variant#F7FCE9
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 #cceb71

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#9071EB
Analogous left#EBCD71
Analogous right#8FEB71
Split-complement 1#718FEB
Split-complement 2#CD71EB
Triadic 1#71CCEB
Triadic 2#EB71CC
Tetradic#71EBCD

RGB percentages

Red80.0%
Green92.2%
Blue44.3%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow51.9%
Key (black)7.8%

Color previews

#cceb71 text on a black background

contrast 15.69:1

Card sample

#cceb71 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 235, 113, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 235, 113, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cceb71;
background: linear-gradient(135deg, #cceb71, #7BEB71);

Monochromatic scale

Palettes built from #cceb71

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.

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

#cceb71, answered

What color is #cceb71?

#cceb71 is a light electric green, closest to Green Yellow (ΔE2000 8.7). It sits at 75° on the hue wheel with 75% saturation and 68% lightness, which reads as warm.

What is the RGB value of #cceb71?

rgb(204, 235, 113) — 204 red, 235 green and 113 blue out of 255, or 80% / 92.2% / 44.3% by channel.

Is #cceb71 a light or a dark color?

It is a light color. Relative luminance is 0.7345 and perceived brightness is 84%, so black text on it reaches 15.69:1.

Should I use black or white text on #cceb71?

Black. It scores 15.69:1 against #cceb71, versus 1.34:1 for white — AAA at any size.

What is the complementary color of #cceb71?

#9071EB sits directly opposite on the wheel. Softer options are the split-complements #718FEB and #CD71EB, which give the same contrast with far less vibration.

What colors go well with #cceb71?

For interface work: #F9FAF4 as the surface, #E1EDC0 for borders, #879B4B for secondary text, #6E6EEE as an accent and #577010 for hover and pressed states. For a palette, the analogous pair #EBCD71 and #8FEB71 stays calm, while #9071EB is the loudest partner.

What is #cceb71 in CMYK for printing?

cmyk(13%, 0%, 52%, 8%). 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 #cceb71 warm or cool?

Warm — it scores 38 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EBDD71; nudged cooler, #9FED6F.

Work with #cceb71 in the Color Lab