Skip to content

#cbf28f

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

RGB
203, 242, 143
HSL
84°, 79%, 76%
CMYK
16, 0, 41, 5
Luminance
0.7818

At a glance

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

Hex
#cbf28f
Hue
84°
green
Saturation
79%
electric
Lightness
76%
light
Brightness
95%
HSV value
Perceived
87%
weighted brightness
Luminance
0.7818
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.64:1
Closest name
Pale Green
ΔE2000 8.9
Where it sits
Hue84° of 360°
Saturation79%
Lightness76%
Temperature
Warm ← → Cool45% 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#cbf28f
RGBrgb(203, 242, 143)
HSLhsl(84, 79%, 76%)
CMYKcmyk(16%, 0%, 41%, 5%)
LABlab(90.9 -28.5 43.6)
LCHlch(90.9 52.1 123.2)
OKLCHoklch(0.911 0.132 126.4)
Decimal13365903
Display P3color(display-p3 0.796 0.949 0.561)

Copy-ready code

/* CSS */
color: #cbf28f;
background-color: #cbf28f;
/* Tailwind (arbitrary) */
class="text-[#cbf28f] bg-[#cbf28f]"
/* SCSS */
$brand: #cbf28f;
/* SwiftUI */
Color(red: 0.796, green: 0.949, blue: 0.561)
/* Android */
Color.parseColor("#cbf28f")
/* Flutter */
Color(0xFFCBF28F)
/* Python / OpenCV (BGR) */
(143, 242, 203)

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

Accessibility — WCAG contrast

Aa
#cbf28f on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#cbf28f on black: 16.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FCE687
deuteranopia · #F6E494
tritanopia · #D0EADA

Color scale — 50 to 950

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

#F8FCF3
#F2F9E6
#E3F5C7
#cbf28f
#B9ED68
#A2E836
#8FDB19
#77B715
#5F9211
#476A11
#2C420A
Base = 300Lightest = 50 · #F8FCF3Darkest = 950 · #2C420A
:root {
  --brand-50: #F8FCF3;
  --brand-100: #F2F9E6;
  --brand-200: #E3F5C7;
  --brand-300: #cbf28f;
  --brand-400: #B9ED68;
  --brand-500: #A2E836;
  --brand-600: #8FDB19;
  --brand-700: #77B715;
  --brand-800: #5F9211;
  --brand-900: #476A11;
  --brand-950: #2C420A;
  --brand: #cbf28f;
  --brand-ink: #000000;
}

Colors that work with #cbf28f

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#DBEDC0
Hairlines and dividers
Muted text#7B9B4B
Captions on the surface
Accent#2810BC
Second voice, not a rival
Dark variant#4B720D
Hover, pressed, headers
Light variant#F4FCE8
Selected rows, tints
Dark surface#1E2414
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 #cbf28f

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#B68FF2
Analogous left#F2E78F
Analogous right#9AF28F
Split-complement 1#8F9AF2
Split-complement 2#E78FF2
Triadic 1#8FCBF2
Triadic 2#F28FCB
Tetradic#8FF2E7

RGB percentages

Red79.6%
Green94.9%
Blue56.1%

CMYK percentages

Cyan16.1%
Magenta0.0%
Yellow40.9%
Key (black)5.1%

Color previews

#cbf28f text on a black background

contrast 16.64:1

Card sample

#cbf28f text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbf28f

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.

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

#cbf28f, answered

What color is #cbf28f?

#cbf28f is a light electric green, closest to Pale Green (ΔE2000 8.9). It sits at 84° on the hue wheel with 79% saturation and 76% lightness, which reads as neutral.

What is the RGB value of #cbf28f?

rgb(203, 242, 143) — 203 red, 242 green and 143 blue out of 255, or 79.6% / 94.9% / 56.1% by channel.

Is #cbf28f a light or a dark color?

It is a light color. Relative luminance is 0.7818 and perceived brightness is 87%, so black text on it reaches 16.64:1.

Should I use black or white text on #cbf28f?

Black. It scores 16.64:1 against #cbf28f, versus 1.26:1 for white — AAA at any size.

What is the complementary color of #cbf28f?

#B68FF2 sits directly opposite on the wheel. Softer options are the split-complements #8F9AF2 and #E78FF2, which give the same contrast with far less vibration.

What colors go well with #cbf28f?

For interface work: #F8FAF4 as the surface, #DBEDC0 for borders, #7B9B4B for secondary text, #2810BC as an accent and #4B720D for hover and pressed states. For a palette, the analogous pair #F2E78F and #9AF28F stays calm, while #B68FF2 is the loudest partner.

What is #cbf28f in CMYK for printing?

cmyk(16%, 0%, 41%, 5%). 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 #cbf28f warm or cool?

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

Work with #cbf28f in the Color Lab