#CDC16D#CDC16D
#CDC16D is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.106 H 101.3°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC16D |
|---|---|
| RGB | rgb(205, 193, 109) |
| HSL | hsl(53, 49%, 62%) |
| HSV | hsv(53, 47%, 80%) |
| CMYK | cmyk(0%, 5.9%, 46.8%, 19.6%) |
| CIE-LAB | lab(77.42, -7.24, 43.58) |
| CIE-LCH | lch(77.42, 44.18, 99.43°) |
| OKLab | oklab(80.28% -0.0208 0.1044) |
| OKLCH | oklch(80.28% 0.106 101.3) |
| XYZ | xyz(47.0083, 52.2247, 22.0692) |
| Luminance | 0.5222 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.60
Sand (survey)
#E2CA76
ΔE00 4.48
Greenish Beige
#C9D179
ΔE00 6.25
Sandy
#F1DA7A
ΔE00 7.26
Desert
#CCAD60
ΔE00 7.43
Tan (survey)
#D1B26F
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC16D #6D79CD
analogous
#CD916D #CDC16D #A9CD6D
triadic
#CDC16D #6DCDC1 #C16DCD
tetradic
#CDC16D #6DCD91 #6D79CD #CD6DA9
square
#CDC16D #6DCD91 #6D79CD #CD6DA9
split-complementary
#CDC16D #6DA9CD #916DCD
monochromatic
#8F8331 #BCAD40 #CDC16D #DDD49B #ECE8C8
Accessibility & contrast
On white
1.83
#CDC16D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.44
#CDC16D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC16D
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC16D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC16D | 1.00 | 1.83 | 11.44 | 11.44 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBC66
Deuteranopia (green-blind)
#D3C271
Tritanopia (blue-blind)
#DAB7AD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc16d; /* rgb */ color: rgb(205, 193, 109); /* oklch */ color: oklch(80.3% 0.106 101.3);
Tailwind
colors: {
custom: {
50: '#ded398',
500: '#cdc16d',
950: '#000000',
},
}SCSS
$custom: #cdc16d; $custom-light: #ded398; $custom-dark: #000000;
JSON
{
"hex": "#cdc16d",
"rgb": {
"r": 205,
"g": 193,
"b": 109
},
"hsl": {
"h": 52.5,
"s": 48.98,
"l": 61.569
},
"oklch": {
"l": 0.8028,
"c": 0.10648,
"h": 101.3
},
"luminance": 0.52223
}Semantic roles & 50–950 ramp
primary
#CDC16D
secondary
#495395
accent
#3CBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F