#cddb7b
a light, vivid yellow · warm · closest name: Khaki
At a glance
Every number on this page in one read: what #cddb7b is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #cddb7b |
| RGB | rgb(205, 219, 123) |
| HSL | hsl(69, 57%, 67%) |
| CMYK | cmyk(6%, 0%, 44%, 14%) |
| LAB | lab(84.5 -18.9 45.5) |
| LCH | lch(84.5 49.3 112.6) |
| OKLCH | oklch(0.860 0.122 115.8) |
| Decimal | 13491067 |
| Display P3 | color(display-p3 0.804 0.859 0.482) |
Copy-ready code
/* CSS */
color: #cddb7b;
background-color: #cddb7b;
/* Tailwind (arbitrary) */
class="text-[#cddb7b] bg-[#cddb7b]"
/* SCSS */
$brand: #cddb7b;
/* SwiftUI */
Color(red: 0.804, green: 0.859, blue: 0.482)
/* Android */
Color.parseColor("#cddb7b")
/* Flutter */
Color(0xFFCDDB7B)
/* Python / OpenCV (BGR) */
(123, 219, 205)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #cddb7b 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.
:root {
--brand-50: #FAFBF4;
--brand-100: #F5F7E9;
--brand-200: #EAEFCD;
--brand-300: #DEE7A7;
--brand-400: #cddb7b;
--brand-500: #BCCF4F;
--brand-600: #ACC035;
--brand-700: #8FA02C;
--brand-800: #738023;
--brand-900: #545D1D;
--brand-950: #353A12;
--brand: #cddb7b;
--brand-ink: #000000;
}Colors that work with #cddb7b
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #cddb7b
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠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 | #897BDB | Directly opposite — maximum tension | |
| Analogous left | #DBB97B | Neighbour, quieter | |
| Analogous right | #9DDB7B | Neighbour, quieter | |
| Split-complement 1 | #7B9DDB | Contrast without the clash | |
| Split-complement 2 | #B97BDB | Contrast without the clash | |
| Triadic 1 | #7BCDDB | Even thirds — balanced and loud | |
| Triadic 2 | #DB7BCD | Even thirds — balanced and loud | |
| Tetradic | #7BDBB9 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cddb7b text on a black background
contrast 14.01:1
#cddb7b text on a white background
contrast 1.50:1
CSS3 live lab
The quick brown fox
color: #cddb7b;
background-color: #cddb7b;
Glowing headline
text-shadow: 2px 2px 8px #cddb7b;
Soft neon halo
text-shadow: 0 0 14px rgba(205, 219, 123, 0.45);
box-shadow: 0 12px 32px -8px rgba(205, 219, 123, 0.45);
border: 3px solid #cddb7b; background: linear-gradient(135deg, #cddb7b, #8DDB7B);
Monochromatic scale
Palettes built from #cddb7b
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.
Closest color with a full write-up: Pistachio (#93c572) — ΔE2000 10.9 away, with its history, psychology and brand usage.
#cddb7b in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#cddb7b, answered
What color is #cddb7b?
#cddb7b is a light vivid yellow, closest to Khaki (ΔE2000 7.1). It sits at 69° on the hue wheel with 57% saturation and 67% lightness, which reads as warm.
What is the RGB value of #cddb7b?
rgb(205, 219, 123) — 205 red, 219 green and 123 blue out of 255, or 80.4% / 85.9% / 48.2% by channel.
Is #cddb7b a light or a dark color?
It is a light color. Relative luminance is 0.6507 and perceived brightness is 81%, so black text on it reaches 14.01:1.
Should I use black or white text on #cddb7b?
Black. It scores 14.01:1 against #cddb7b, versus 1.50:1 for white — AAA at any size.
What is the complementary color of #cddb7b?
#897BDB sits directly opposite on the wheel. Softer options are the split-complements #7B9DDB and #B97BDB, which give the same contrast with far less vibration.
What colors go well with #cddb7b?
For interface work: #FAFAF4 as the surface, #E6EDC0 for borders, #8F9B4B for secondary text, #7883DE as an accent and #5A641B for hover and pressed states. For a palette, the analogous pair #DBB97B and #9DDB7B stays calm, while #897BDB is the loudest partner.
What is #cddb7b in CMYK for printing?
cmyk(6%, 0%, 44%, 14%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #cddb7b warm or cool?
Warm — it scores 32 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DBC67B; nudged cooler, #AADD7A.