Skip to content

#cace87

a light, soft yellow · warm · closest name: Dark Khaki

RGB
202, 206, 135
HSL
63°, 42%, 67%
CMYK
2, 0, 35, 19
Luminance
0.5845

At a glance

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

Hex
#cace87
Hue
63°
yellow
Saturation
42%
soft
Lightness
67%
light
Brightness
81%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5845
WCAG relative
Temperature
Warm
28/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
12.69:1
Closest name
Dark Khaki
ΔE2000 6.4
Where it sits
Hue63° of 360°
Saturation42%
Lightness67%
Temperature
Warm ← → Cool28% 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#cace87
RGBrgb(202, 206, 135)
HSLhsl(63, 42%, 67%)
CMYKcmyk(2%, 0%, 35%, 19%)
LABlab(81.0 -12.3 34.9)
LCHlch(81.0 37.0 109.4)
OKLCHoklch(0.832 0.092 111.0)
Decimal13291143
Display P3color(display-p3 0.792 0.808 0.529)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cace87 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#cace87 on black: 12.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D8C882
deuteranopia · #D9CA8A
tritanopia · #D3C6BC

Color scale — 50 to 950

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

#FAFAF5
#F4F5EB
#E9EAD2
#DCDEAF
#cace87
#B9BE60
#A8AE47
#8C913B
#70742F
#525526
#333517
Base = 400Lightest = 50 · #FAFAF5Darkest = 950 · #333517
:root {
  --brand-50: #FAFAF5;
  --brand-100: #F4F5EB;
  --brand-200: #E9EAD2;
  --brand-300: #DCDEAF;
  --brand-400: #cace87;
  --brand-500: #B9BE60;
  --brand-600: #A8AE47;
  --brand-700: #8C913B;
  --brand-800: #70742F;
  --brand-900: #525526;
  --brand-950: #333517;
  --brand: #cace87;
  --brand-ink: #000000;
}

Colors that work with #cace87

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#FAFAF4
Tinted page background
Border#E5E7C5
Hairlines and dividers
Muted text#969B4B
Captions on the surface
Accent#374A95
Second voice, not a rival
Dark variant#575B25
Hover, pressed, headers
Light variant#F7F8ED
Selected rows, tints
Dark surface#242414
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 #cace87

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • White text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#8B87CE
Analogous left#CEAF87
Analogous right#A7CE87
Split-complement 1#87A7CE
Split-complement 2#AF87CE
Triadic 1#87CACE
Triadic 2#CE87CA
Tetradic#87CEAF

RGB percentages

Red79.2%
Green80.8%
Blue52.9%

CMYK percentages

Cyan1.9%
Magenta0.0%
Yellow34.5%
Key (black)19.2%

Color previews

#cace87 text on a black background

contrast 12.69:1

Card sample

#cace87 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cace87

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.

#cace87 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#cace87, answered

What color is #cace87?

#cace87 is a light soft yellow, closest to Dark Khaki (ΔE2000 6.4). It sits at 63° on the hue wheel with 42% saturation and 67% lightness, which reads as warm.

What is the RGB value of #cace87?

rgb(202, 206, 135) — 202 red, 206 green and 135 blue out of 255, or 79.2% / 80.8% / 52.9% by channel.

Is #cace87 a light or a dark color?

It is a light color. Relative luminance is 0.5845 and perceived brightness is 78%, so black text on it reaches 12.69:1.

Should I use black or white text on #cace87?

Black. It scores 12.69:1 against #cace87, versus 1.65:1 for white — AAA at any size.

What is the complementary color of #cace87?

#8B87CE sits directly opposite on the wheel. Softer options are the split-complements #87A7CE and #AF87CE, which give the same contrast with far less vibration.

What colors go well with #cace87?

For interface work: #FAFAF4 as the surface, #E5E7C5 for borders, #969B4B for secondary text, #374A95 as an accent and #575B25 for hover and pressed states. For a palette, the analogous pair #CEAF87 and #A7CE87 stays calm, while #8B87CE is the loudest partner.

What is #cace87 in CMYK for printing?

cmyk(2%, 0%, 35%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cace87 warm or cool?

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

Work with #cace87 in the Color Lab