#CDC17C#CDC17C
#CDC17C is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.090 H 99.6°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC17C |
|---|---|
| RGB | rgb(205, 193, 124) |
| HSL | hsl(51, 45%, 65%) |
| HSV | hsv(51, 40%, 80%) |
| CMYK | cmyk(0%, 5.9%, 39.5%, 19.6%) |
| CIE-LAB | lab(77.62, -5.69, 36.25) |
| CIE-LCH | lch(77.62, 36.70, 98.93°) |
| OKLab | oklab(80.51% -0.015 0.0888) |
| OKLCH | oklch(80.51% 0.09 99.6) |
| XYZ | xyz(47.8858, 52.5757, 26.6905) |
| Luminance | 0.5257 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.78
Sand (survey)
#E2CA76
ΔE00 4.96
Sand
#C2B280
ΔE00 5.58
Tan (survey)
#D1B26F
ΔE00 6.73
Greenish Beige
#C9D179
ΔE00 6.84
Sandstone
#C9AE74
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC17C #7C88CD
analogous
#CD997C #CDC17C #B1CD7C
triadic
#CDC17C #7CCDC1 #C17CCD
tetradic
#CDC17C #7CCD99 #7C88CD #CD7CB1
square
#CDC17C #7CCD99 #7C88CD #CD7CB1
split-complementary
#CDC17C #7CB1CD #997CCD
monochromatic
#968839 #BCAC50 #CDC17C #DED6A8 #EFEBD5
Accessibility & contrast
On white
1.82
#CDC17C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.51
#CDC17C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC17C
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC17C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC17C | 1.00 | 1.82 | 11.51 | 11.51 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBD77
Deuteranopia (green-blind)
#D1C27F
Tritanopia (blue-blind)
#D8B8B0
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc17c; /* rgb */ color: rgb(205, 193, 124); /* oklch */ color: oklch(80.5% 0.090 99.6);
Tailwind
colors: {
custom: {
50: '#ddd3a3',
500: '#cdc17c',
950: '#000000',
},
}SCSS
$custom: #cdc17c; $custom-light: #ddd3a3; $custom-dark: #000000;
JSON
{
"hex": "#cdc17c",
"rgb": {
"r": 205,
"g": 193,
"b": 124
},
"hsl": {
"h": 51.111,
"s": 44.751,
"l": 64.51
},
"oklch": {
"l": 0.80513,
"c": 0.09004,
"h": 99.6
},
"luminance": 0.52574
}Semantic roles & 50–950 ramp
primary
#CDC17C
secondary
#515C9C
accent
#42B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380