#CDC668#CDC668
#CDC668 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.117 H 104.9°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC668 |
|---|---|
| RGB | rgb(205, 198, 104) |
| HSL | hsl(56, 50%, 61%) |
| HSV | hsv(56, 49%, 80%) |
| CMYK | cmyk(0%, 3.4%, 49.3%, 19.6%) |
| CIE-LAB | lab(78.68, -10.27, 47.56) |
| CIE-LCH | lch(78.68, 48.66, 102.19°) |
| OKLab | oklab(81.26% -0.03 0.1128) |
| OKLCH | oklch(81.26% 0.117 104.9) |
| XYZ | xyz(47.8708, 54.3682, 21.0664) |
| Luminance | 0.5437 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.74
Greenish Beige
#C9D179
ΔE00 4.77
Sand (survey)
#E2CA76
ΔE00 5.50
Greenish Tan
#BCCB7A
ΔE00 6.55
Sandy
#F1DA7A
ΔE00 7.03
Dull Yellow
#EEDC5B
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC668 #686FCD
analogous
#CD9468 #CDC668 #A1CD68
triadic
#CDC668 #68CDC6 #C668CD
tetradic
#CDC668 #68CD94 #686FCD #CD68A1
square
#CDC668 #68CD94 #686FCD #CD68A1
split-complementary
#CDC668 #68A1CD #9468CD
monochromatic
#8C862E #BAB23E #CDC668 #DCD796 #EBE9C4
Accessibility & contrast
On white
1.77
#CDC668 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.87
#CDC668 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC668
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC668 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC668 | 1.00 | 1.77 | 11.87 | 11.87 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C060
Deuteranopia (green-blind)
#D7C56C
Tritanopia (blue-blind)
#DABBB0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc668; /* rgb */ color: rgb(205, 198, 104); /* oklch */ color: oklch(81.3% 0.117 104.9);
Tailwind
colors: {
custom: {
50: '#ded795',
500: '#cdc668',
950: '#000000',
},
}SCSS
$custom: #cdc668; $custom-light: #ded795; $custom-dark: #000000;
JSON
{
"hex": "#cdc668",
"rgb": {
"r": 205,
"g": 198,
"b": 104
},
"hsl": {
"h": 55.842,
"s": 50.249,
"l": 60.588
},
"oklch": {
"l": 0.81261,
"c": 0.11674,
"h": 104.9
},
"luminance": 0.54367
}Semantic roles & 50–950 ramp
primary
#CDC668
secondary
#464C93
accent
#32BE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F