Skip to content

#cdd76d

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

RGB
205, 215, 109
HSL
66°, 57%, 64%
CMYK
5, 0, 49, 16
Luminance
0.6268

At a glance

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

Hex
#cdd76d
Hue
66°
yellow
Saturation
57%
vivid
Lightness
64%
balanced
Brightness
84%
HSV value
Perceived
79%
weighted brightness
Luminance
0.6268
WCAG relative
Temperature
Warm
30/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.54:1
Closest name
Khaki
ΔE2000 7
Where it sits
Hue66° of 360°
Saturation57%
Lightness64%
Temperature
Warm ← → Cool30% 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#cdd76d
RGBrgb(205, 215, 109)
HSLhsl(66, 57%, 64%)
CMYKcmyk(5%, 0%, 49%, 16%)
LABlab(83.3 -18.4 50.7)
LCHlch(83.3 53.9 109.9)
OKLCHoklch(0.849 0.131 113.6)
Decimal13490029
Display P3color(display-p3 0.804 0.843 0.427)

Copy-ready code

/* CSS */
color: #cdd76d;
background-color: #cdd76d;
/* Tailwind (arbitrary) */
class="text-[#cdd76d] bg-[#cdd76d]"
/* SCSS */
$brand: #cdd76d;
/* SwiftUI */
Color(red: 0.804, green: 0.843, blue: 0.427)
/* Android */
Color.parseColor("#cdd76d")
/* Flutter */
Color(0xFFCDD76D)
/* Python / OpenCV (BGR) */
(109, 215, 205)

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

Accessibility — WCAG contrast

Aa
#cdd76d on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#cdd76d on black: 13.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E4CE63
deuteranopia · #E4D173
tritanopia · #D8CDBF

Color scale — 50 to 950

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

#FAFBF4
#F5F7E9
#EBEECD
#E1E7A7
#cdd76d
#C3CF4F
#B3C035
#95A02C
#778023
#575D1D
#363A12
Base = 400Lightest = 50 · #FAFBF4Darkest = 950 · #363A12
:root {
  --brand-50: #FAFBF4;
  --brand-100: #F5F7E9;
  --brand-200: #EBEECD;
  --brand-300: #E1E7A7;
  --brand-400: #cdd76d;
  --brand-500: #C3CF4F;
  --brand-600: #B3C035;
  --brand-700: #95A02C;
  --brand-800: #778023;
  --brand-900: #575D1D;
  --brand-950: #363A12;
  --brand: #cdd76d;
  --brand-ink: #000000;
}

Colors that work with #cdd76d

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#E8EDC0
Hairlines and dividers
Muted text#939B4B
Captions on the surface
Accent#697BDB
Second voice, not a rival
Dark variant#5D641B
Hover, pressed, headers
Light variant#F8FAEB
Selected rows, tints
Dark surface#232414
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 #cdd76d

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#776DD7
Analogous left#D7AC6D
Analogous right#98D76D
Split-complement 1#6D98D7
Split-complement 2#AC6DD7
Triadic 1#6DCDD7
Triadic 2#D76DCD
Tetradic#6DD7AC

RGB percentages

Red80.4%
Green84.3%
Blue42.7%

CMYK percentages

Cyan4.7%
Magenta0.0%
Yellow49.3%
Key (black)15.7%

Color previews

#cdd76d text on a black background

contrast 13.54:1

Card sample

#cdd76d text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 215, 109, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 215, 109, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdd76d;
background: linear-gradient(135deg, #cdd76d, #86D76D);

Monochromatic scale

Palettes built from #cdd76d

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.

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

#cdd76d, answered

What color is #cdd76d?

#cdd76d is a balanced vivid yellow, closest to Khaki (ΔE2000 7). It sits at 66° on the hue wheel with 57% saturation and 64% lightness, which reads as warm.

What is the RGB value of #cdd76d?

rgb(205, 215, 109) — 205 red, 215 green and 109 blue out of 255, or 80.4% / 84.3% / 42.7% by channel.

Is #cdd76d a light or a dark color?

It is a light color. Relative luminance is 0.6268 and perceived brightness is 79%, so black text on it reaches 13.54:1.

Should I use black or white text on #cdd76d?

Black. It scores 13.54:1 against #cdd76d, versus 1.55:1 for white — AAA at any size.

What is the complementary color of #cdd76d?

#776DD7 sits directly opposite on the wheel. Softer options are the split-complements #6D98D7 and #AC6DD7, which give the same contrast with far less vibration.

What colors go well with #cdd76d?

For interface work: #FAFAF4 as the surface, #E8EDC0 for borders, #939B4B for secondary text, #697BDB as an accent and #5D641B for hover and pressed states. For a palette, the analogous pair #D7AC6D and #98D76D stays calm, while #776DD7 is the loudest partner.

What is #cdd76d in CMYK for printing?

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

Is #cdd76d warm or cool?

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

Work with #cdd76d in the Color Lab