Skip to content

#cbf87f

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

RGB
203, 248, 127
HSL
82°, 90%, 74%
CMYK
18, 0, 49, 3
Luminance
0.8136

At a glance

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

Hex
#cbf87f
Hue
82°
green
Saturation
90%
electric
Lightness
74%
light
Brightness
97%
HSV value
Perceived
88%
weighted brightness
Luminance
0.8136
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Green
Tone
Electric
Best ink
Black
17.27:1
Closest name
Green Yellow
ΔE2000 7.6
Where it sits
Hue82° of 360°
Saturation90%
Lightness74%
Temperature
Warm ← → Cool44% 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#cbf87f
RGBrgb(203, 248, 127)
HSLhsl(82, 90%, 74%)
CMYKcmyk(18%, 0%, 49%, 3%)
LABlab(92.3 -33.1 53.0)
LCHlch(92.3 62.5 122.0)
OKLCHoklch(0.922 0.157 126.1)
Decimal13367423
Display P3color(display-p3 0.796 0.973 0.498)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbf87f on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#cbf87f on black: 17.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEB74
deuteranopia · #FDE886
tritanopia · #D1EEDC

Color scale — 50 to 950

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

#F9FDF2
#F3FBE5
#E5F8C3
#cbf87f
#BEF65F
#A9F32A
#97E80D
#7DC10B
#649B08
#4A700B
#2E4607
Base = 300Lightest = 50 · #F9FDF2Darkest = 950 · #2E4607
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F3FBE5;
  --brand-200: #E5F8C3;
  --brand-300: #cbf87f;
  --brand-400: #BEF65F;
  --brand-500: #A9F32A;
  --brand-600: #97E80D;
  --brand-700: #7DC10B;
  --brand-800: #649B08;
  --brand-900: #4A700B;
  --brand-950: #2E4607;
  --brand: #cbf87f;
  --brand-ink: #000000;
}

Colors that work with #cbf87f

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#DCEDC0
Hairlines and dividers
Muted text#7D9B4B
Captions on the surface
Accent#8C7CFB
Second voice, not a rival
Dark variant#4E7907
Hover, pressed, headers
Light variant#F5FEE7
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 #cbf87f

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#AC7FF8
Analogous left#F8E87F
Analogous right#8EF87F
Split-complement 1#7F8EF8
Split-complement 2#E87FF8
Triadic 1#7FCBF8
Triadic 2#F87FCB
Tetradic#7FF8E8

RGB percentages

Red79.6%
Green97.3%
Blue49.8%

CMYK percentages

Cyan18.1%
Magenta0.0%
Yellow48.8%
Key (black)2.7%

Color previews

#cbf87f text on a black background

contrast 17.27:1

Card sample

#cbf87f text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 248, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 248, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbf87f;
background: linear-gradient(135deg, #cbf87f, #7FF884);

Monochromatic scale

Palettes built from #cbf87f

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.

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

#cbf87f, answered

What color is #cbf87f?

#cbf87f is a light electric green, closest to Green Yellow (ΔE2000 7.6). It sits at 82° on the hue wheel with 90% saturation and 74% lightness, which reads as neutral.

What is the RGB value of #cbf87f?

rgb(203, 248, 127) — 203 red, 248 green and 127 blue out of 255, or 79.6% / 97.3% / 49.8% by channel.

Is #cbf87f a light or a dark color?

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

Should I use black or white text on #cbf87f?

Black. It scores 17.27:1 against #cbf87f, versus 1.22:1 for white — AAA at any size.

What is the complementary color of #cbf87f?

#AC7FF8 sits directly opposite on the wheel. Softer options are the split-complements #7F8EF8 and #E87FF8, which give the same contrast with far less vibration.

What colors go well with #cbf87f?

For interface work: #F8FAF4 as the surface, #DCEDC0 for borders, #7D9B4B for secondary text, #8C7CFB as an accent and #4E7907 for hover and pressed states. For a palette, the analogous pair #F8E87F and #8EF87F stays calm, while #AC7FF8 is the loudest partner.

What is #cbf87f in CMYK for printing?

cmyk(18%, 0%, 49%, 3%). 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 #cbf87f warm or cool?

Neutral — it scores 44 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F7F87F; nudged cooler, #9EF97E.

Work with #cbf87f in the Color Lab