Skip to content

#cacd71

a balanced, vivid yellow · warm · closest name: Dark Khaki

RGB
202, 205, 113
HSL
62°, 48%, 62%
CMYK
2, 0, 45, 20
Luminance
0.5741

At a glance

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

Hex
#cacd71
Hue
62°
yellow
Saturation
48%
vivid
Lightness
62%
balanced
Brightness
80%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5741
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.48:1
Closest name
Dark Khaki
ΔE2000 6.1
Where it sits
Hue62° of 360°
Saturation48%
Lightness62%
Temperature
Warm ← → Cool27% 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#cacd71
RGBrgb(202, 205, 113)
HSLhsl(62, 48%, 62%)
CMYKcmyk(2%, 0%, 45%, 20%)
LABlab(80.4 -14.2 45.2)
LCHlch(80.4 47.4 107.4)
OKLCHoklch(0.826 0.116 110.3)
Decimal13290865
Display P3color(display-p3 0.792 0.804 0.443)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cacd71 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cacd71 on black: 12.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DAC669
deuteranopia · #DAC975
tritanopia · #D5C3B7

Color scale — 50 to 950

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

#FAFAF4
#F5F5EA
#EBECD0
#E0E2AC
#cacd71
#C1C559
#B1B540
#949735
#76792B
#565822
#363715
Base = 400Lightest = 50 · #FAFAF4Darkest = 950 · #363715
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F5F5EA;
  --brand-200: #EBECD0;
  --brand-300: #E0E2AC;
  --brand-400: #cacd71;
  --brand-500: #C1C559;
  --brand-600: #B1B540;
  --brand-700: #949735;
  --brand-800: #76792B;
  --brand-900: #565822;
  --brand-950: #363715;
  --brand: #cacd71;
  --brand-ink: #000000;
}

Colors that work with #cacd71

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#E8EAC3
Hairlines and dividers
Muted text#989B4B
Captions on the surface
Accent#6D83D1
Second voice, not a rival
Dark variant#5C5E21
Hover, pressed, headers
Light variant#F8F8EC
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 #cacd71

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
  • 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
  • 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#7471CD
Analogous left#CDA271
Analogous right#9CCD71
Split-complement 1#719CCD
Split-complement 2#A271CD
Triadic 1#71CACD
Triadic 2#CD71CA
Tetradic#71CDA2

RGB percentages

Red79.2%
Green80.4%
Blue44.3%

CMYK percentages

Cyan1.5%
Magenta0.0%
Yellow44.9%
Key (black)19.6%

Color previews

#cacd71 text on a black background

contrast 12.48:1

Card sample

#cacd71 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cacd71

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.

#cacd71 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
ButtonsLinksFocus statesCharts
Print note

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

#cacd71, answered

What color is #cacd71?

#cacd71 is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 6.1). It sits at 62° on the hue wheel with 48% saturation and 62% lightness, which reads as warm.

What is the RGB value of #cacd71?

rgb(202, 205, 113) — 202 red, 205 green and 113 blue out of 255, or 79.2% / 80.4% / 44.3% by channel.

Is #cacd71 a light or a dark color?

It is a light color. Relative luminance is 0.5741 and perceived brightness is 77%, so black text on it reaches 12.48:1.

Should I use black or white text on #cacd71?

Black. It scores 12.48:1 against #cacd71, versus 1.68:1 for white — AAA at any size.

What is the complementary color of #cacd71?

#7471CD sits directly opposite on the wheel. Softer options are the split-complements #719CCD and #A271CD, which give the same contrast with far less vibration.

What colors go well with #cacd71?

For interface work: #FAFAF4 as the surface, #E8EAC3 for borders, #989B4B for secondary text, #6D83D1 as an accent and #5C5E21 for hover and pressed states. For a palette, the analogous pair #CDA271 and #9CCD71 stays calm, while #7471CD is the loudest partner.

What is #cacd71 in CMYK for printing?

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

Is #cacd71 warm or cool?

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

Work with #cacd71 in the Color Lab