Skip to content

#cacd3c

a balanced, vivid yellow · warm · closest name: Yellow Green

RGB
202, 205, 60
HSL
61°, 59%, 52%
CMYK
2, 0, 71, 20
Luminance
0.5655

At a glance

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

Hex
#cacd3c
Hue
61°
yellow
Saturation
59%
vivid
Lightness
52%
balanced
Brightness
80%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5655
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.31:1
Closest name
Yellow Green
ΔE2000 9.7
Where it sits
Hue61° of 360°
Saturation59%
Lightness52%
Temperature
Warm ← → Cool26% 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#cacd3c
RGBrgb(202, 205, 60)
HSLhsl(61, 59%, 52%)
CMYKcmyk(2%, 0%, 71%, 20%)
LABlab(79.9 -18.1 67.6)
LCHlch(79.9 70.0 104.9)
OKLCHoklch(0.821 0.160 110.6)
Decimal13290812
Display P3color(display-p3 0.792 0.804 0.235)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cacd3c on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#cacd3c on black: 12.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DDC422
deuteranopia · #DEC847
tritanopia · #D8C0B1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cacd3c is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFBF4
#F6F7E9
#EEEFCD
#E7E8A6
#DBDD79
#cacd3c
#C0C332
#A0A22A
#808221
#5D5F1C
#3A3B11
Base = 500Lightest = 50 · #FBFBF4Darkest = 950 · #3A3B11
:root {
  --brand-50: #FBFBF4;
  --brand-100: #F6F7E9;
  --brand-200: #EEEFCD;
  --brand-300: #E7E8A6;
  --brand-400: #DBDD79;
  --brand-500: #cacd3c;
  --brand-600: #C0C332;
  --brand-700: #A0A22A;
  --brand-800: #808221;
  --brand-900: #5D5F1C;
  --brand-950: #3A3B11;
  --brand: #cacd3c;
  --brand-ink: #000000;
}

Colors that work with #cacd3c

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#ECEDC0
Hairlines and dividers
Muted text#999B4B
Captions on the surface
Accent#375BD2
Second voice, not a rival
Dark variant#64651A
Hover, pressed, headers
Light variant#F9FAEB
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 #cacd3c

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#3F3CCD
Analogous left#CD873C
Analogous right#82CD3C
Split-complement 1#3C82CD
Split-complement 2#873CCD
Triadic 1#3CCACD
Triadic 2#CD3CCA
Tetradic#3CCD87

RGB percentages

Red79.2%
Green80.4%
Blue23.5%

CMYK percentages

Cyan1.5%
Magenta0.0%
Yellow70.7%
Key (black)19.6%

Color previews

#cacd3c text on a black background

contrast 12.31:1

Card sample

#cacd3c text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cacd3c

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.

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

#cacd3c, answered

What color is #cacd3c?

#cacd3c is a balanced vivid yellow, closest to Yellow Green (ΔE2000 9.7). It sits at 61° on the hue wheel with 59% saturation and 52% lightness, which reads as warm.

What is the RGB value of #cacd3c?

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

Is #cacd3c a light or a dark color?

It is a light color. Relative luminance is 0.5655 and perceived brightness is 76%, so black text on it reaches 12.31:1.

Should I use black or white text on #cacd3c?

Black. It scores 12.31:1 against #cacd3c, versus 1.71:1 for white — AAA at any size.

What is the complementary color of #cacd3c?

#3F3CCD sits directly opposite on the wheel. Softer options are the split-complements #3C82CD and #873CCD, which give the same contrast with far less vibration.

What colors go well with #cacd3c?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #999B4B for secondary text, #375BD2 as an accent and #64651A for hover and pressed states. For a palette, the analogous pair #CD873C and #82CD3C stays calm, while #3F3CCD is the loudest partner.

What is #cacd3c in CMYK for printing?

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

Is #cacd3c warm or cool?

Warm — it scores 26 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CD9B3C; nudged cooler, #96D03A.

Work with #cacd3c in the Color Lab