#CDC17F#CDC17F
#CDC17F is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.087 H 99.2°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC17F |
|---|---|
| RGB | rgb(205, 193, 127) |
| HSL | hsl(51, 44%, 65%) |
| HSV | hsv(51, 38%, 80%) |
| CMYK | cmyk(0%, 5.9%, 38%, 19.6%) |
| CIE-LAB | lab(77.67, -5.36, 34.76) |
| CIE-LCH | lch(77.67, 35.18, 98.76°) |
| OKLab | oklab(80.56% -0.0138 0.0855) |
| OKLCH | oklch(80.56% 0.087 99.2) |
| XYZ | xyz(48.0784, 52.6527, 27.7049) |
| Luminance | 0.5265 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.07
Sand
#C2B280
ΔE00 5.20
Sand (survey)
#E2CA76
ΔE00 5.23
Tan (survey)
#D1B26F
ΔE00 6.68
Sandstone
#C9AE74
ΔE00 6.81
Beige (survey)
#E6DAA6
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC17F #7F8BCD
analogous
#CD9A7F #CDC17F #B2CD7F
triadic
#CDC17F #7FCDC1 #C17FCD
tetradic
#CDC17F #7FCD9A #7F8BCD #CD7FB2
square
#CDC17F #7FCD9A #7F8BCD #CD7FB2
split-complementary
#CDC17F #7FB2CD #9A7FCD
monochromatic
#97893B #BCAC53 #CDC17F #DED6AB #EFECD7
Accessibility & contrast
On white
1.82
#CDC17F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#CDC17F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC17F
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC17F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC17F | 1.00 | 1.82 | 11.53 | 11.53 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBD7A
Deuteranopia (green-blind)
#D1C281
Tritanopia (blue-blind)
#D8B8B0
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc17f; /* rgb */ color: rgb(205, 193, 127); /* oklch */ color: oklch(80.6% 0.087 99.2);
Tailwind
colors: {
custom: {
50: '#ddd3a5',
500: '#cdc17f',
950: '#000000',
},
}SCSS
$custom: #cdc17f; $custom-light: #ddd3a5; $custom-dark: #000000;
JSON
{
"hex": "#cdc17f",
"rgb": {
"r": 205,
"g": 193,
"b": 127
},
"hsl": {
"h": 50.769,
"s": 43.82,
"l": 65.098
},
"oklch": {
"l": 0.80564,
"c": 0.0866,
"h": 99.2
},
"luminance": 0.52651
}Semantic roles & 50–950 ramp
primary
#CDC17F
secondary
#535F9D
accent
#44B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380