Skip to content

#cafba2

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

RGB
202, 251, 162
HSL
93°, 92%, 81%
CMYK
20, 0, 36, 2
Luminance
0.8416

At a glance

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

Hex
#cafba2
Hue
93°
green
Saturation
92%
electric
Lightness
81%
light
Brightness
98%
HSV value
Perceived
90%
weighted brightness
Luminance
0.8416
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Green
Tone
Electric
Best ink
Black
17.83:1
Closest name
Pale Green
ΔE2000 6.9
Where it sits
Hue93° of 360°
Saturation92%
Lightness81%
Temperature
Warm ← → Cool51% 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#cafba2
RGBrgb(202, 251, 162)
HSLhsl(93, 92%, 81%)
CMYKcmyk(20%, 0%, 36%, 2%)
LABlab(93.5 -30.7 37.7)
LCHlch(93.5 48.6 129.2)
OKLCHoklch(0.933 0.126 131.9)
Decimal13302690
Display P3color(display-p3 0.792 0.984 0.635)

Copy-ready code

/* CSS */
color: #cafba2;
background-color: #cafba2;
/* Tailwind (arbitrary) */
class="text-[#cafba2] bg-[#cafba2]"
/* SCSS */
$brand: #cafba2;
/* SwiftUI */
Color(red: 0.792, green: 0.984, blue: 0.635)
/* Android */
Color.parseColor("#cafba2")
/* Flutter */
Color(0xFFCAFBA2)
/* Python / OpenCV (BGR) */
(162, 251, 202)

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

Accessibility — WCAG contrast

Aa
#cafba2 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#cafba2 on black: 17.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEF9C
deuteranopia · #FBEBA7
tritanopia · #CCF4E4

Color scale — 50 to 950

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

#F7FDF2
#EFFBE4
#DBF9C3
#cafba2
#A3F85E
#85F628
#6FEB0A
#5DC408
#4A9D07
#38710A
#234706
Base = 300Lightest = 50 · #F7FDF2Darkest = 950 · #234706
:root {
  --brand-50: #F7FDF2;
  --brand-100: #EFFBE4;
  --brand-200: #DBF9C3;
  --brand-300: #cafba2;
  --brand-400: #A3F85E;
  --brand-500: #85F628;
  --brand-600: #6FEB0A;
  --brand-700: #5DC408;
  --brand-800: #4A9D07;
  --brand-900: #38710A;
  --brand-950: #234706;
  --brand: #cafba2;
  --brand-ink: #000000;
}

Colors that work with #cafba2

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#D4EDC0
Hairlines and dividers
Muted text#6F9B4B
Captions on the surface
Accent#3F04C8
Second voice, not a rival
Dark variant#3A7A05
Hover, pressed, headers
Light variant#F1FEE7
Selected rows, tints
Dark surface#1B2414
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 #cafba2

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#D3A2FB
Analogous left#F7FBA2
Analogous right#A2FBA7
Split-complement 1#A7A2FB
Split-complement 2#FBA2F7
Triadic 1#A2CAFB
Triadic 2#FBA2CA
Tetradic#A2F7FB

RGB percentages

Red79.2%
Green98.4%
Blue63.5%

CMYK percentages

Cyan19.5%
Magenta0.0%
Yellow35.5%
Key (black)1.6%

Color previews

#cafba2 text on a black background

contrast 17.83:1

Card sample

#cafba2 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 251, 162, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 251, 162, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cafba2;
background: linear-gradient(135deg, #cafba2, #A2FBB5);

Monochromatic scale

Palettes built from #cafba2

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.

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

#cafba2, answered

What color is #cafba2?

#cafba2 is a light electric green, closest to Pale Green (ΔE2000 6.9). It sits at 93° on the hue wheel with 92% saturation and 81% lightness, which reads as neutral.

What is the RGB value of #cafba2?

rgb(202, 251, 162) — 202 red, 251 green and 162 blue out of 255, or 79.2% / 98.4% / 63.5% by channel.

Is #cafba2 a light or a dark color?

It is a light color. Relative luminance is 0.8416 and perceived brightness is 90%, so black text on it reaches 17.83:1.

Should I use black or white text on #cafba2?

Black. It scores 17.83:1 against #cafba2, versus 1.18:1 for white — AAA at any size.

What is the complementary color of #cafba2?

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

What colors go well with #cafba2?

For interface work: #F7FAF4 as the surface, #D4EDC0 for borders, #6F9B4B for secondary text, #3F04C8 as an accent and #3A7A05 for hover and pressed states. For a palette, the analogous pair #F7FBA2 and #A2FBA7 stays calm, while #D3A2FB is the loudest partner.

What is #cafba2 in CMYK for printing?

cmyk(20%, 0%, 36%, 2%). 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 #cafba2 warm or cool?

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

Work with #cafba2 in the Color Lab