Skip to content

#cdd07f

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

RGB
205, 208, 127
HSL
62°, 46%, 66%
CMYK
1, 0, 39, 18
Luminance
0.5962

At a glance

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

Hex
#cdd07f
Hue
62°
yellow
Saturation
46%
vivid
Lightness
66%
light
Brightness
82%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5962
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.92:1
Closest name
Dark Khaki
ΔE2000 6.5
Where it sits
Hue62° of 360°
Saturation46%
Lightness66%
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#cdd07f
RGBrgb(205, 208, 127)
HSLhsl(62, 46%, 66%)
CMYKcmyk(1%, 0%, 39%, 18%)
LABlab(81.6 -13.0 39.9)
LCHlch(81.6 41.9 108.1)
OKLCHoklch(0.837 0.103 110.3)
Decimal13488255
Display P3color(display-p3 0.804 0.816 0.498)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdd07f on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#cdd07f on black: 12.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DCC979
deuteranopia · #DCCC83
tritanopia · #D7C7BC

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cdd07f 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
#F5F5EA
#EAEBD0
#DFE1AD
#cdd07f
#BFC35B
#AFB342
#929537
#75772C
#555723
#353716
Base = 400Lightest = 50 · #FAFAF5Darkest = 950 · #353716
:root {
  --brand-50: #FAFAF5;
  --brand-100: #F5F5EA;
  --brand-200: #EAEBD0;
  --brand-300: #DFE1AD;
  --brand-400: #cdd07f;
  --brand-500: #BFC35B;
  --brand-600: #AFB342;
  --brand-700: #929537;
  --brand-800: #75772C;
  --brand-900: #555723;
  --brand-950: #353716;
  --brand: #cdd07f;
  --brand-ink: #000000;
}

Colors that work with #cdd07f

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#E8E9C3
Hairlines and dividers
Muted text#989B4B
Captions on the surface
Accent#7C8ED4
Second voice, not a rival
Dark variant#5B5D22
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 #cdd07f

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
  • Card and section backgrounds
  • 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
  • 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#827FD0
Analogous left#D0AB7F
Analogous right#A5D07F
Split-complement 1#7FA5D0
Split-complement 2#AB7FD0
Triadic 1#7FCDD0
Triadic 2#D07FCD
Tetradic#7FD0AB

RGB percentages

Red80.4%
Green81.6%
Blue49.8%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow38.9%
Key (black)18.4%

Color previews

#cdd07f text on a black background

contrast 12.92:1

Card sample

#cdd07f text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 208, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 208, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdd07f;
background: linear-gradient(135deg, #cdd07f, #97D07F);

Monochromatic scale

Palettes built from #cdd07f

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.

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

#cdd07f, answered

What color is #cdd07f?

#cdd07f is a light vivid yellow, closest to Dark Khaki (ΔE2000 6.5). It sits at 62° on the hue wheel with 46% saturation and 66% lightness, which reads as warm.

What is the RGB value of #cdd07f?

rgb(205, 208, 127) — 205 red, 208 green and 127 blue out of 255, or 80.4% / 81.6% / 49.8% by channel.

Is #cdd07f a light or a dark color?

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

Should I use black or white text on #cdd07f?

Black. It scores 12.92:1 against #cdd07f, versus 1.62:1 for white — AAA at any size.

What is the complementary color of #cdd07f?

#827FD0 sits directly opposite on the wheel. Softer options are the split-complements #7FA5D0 and #AB7FD0, which give the same contrast with far less vibration.

What colors go well with #cdd07f?

For interface work: #FAFAF4 as the surface, #E8E9C3 for borders, #989B4B for secondary text, #7C8ED4 as an accent and #5B5D22 for hover and pressed states. For a palette, the analogous pair #D0AB7F and #A5D07F stays calm, while #827FD0 is the loudest partner.

What is #cdd07f in CMYK for printing?

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

Is #cdd07f 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 #D0B57F; nudged cooler, #B0D27D.

Work with #cdd07f in the Color Lab