#CDC466#CDC466
#CDC466 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.117 H 103.8°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC466 |
|---|---|
| RGB | rgb(205, 196, 102) |
| HSL | hsl(55, 51%, 60%) |
| HSV | hsv(55, 50%, 80%) |
| CMYK | cmyk(0%, 4.4%, 50.2%, 19.6%) |
| CIE-LAB | lab(78.12, -9.43, 47.86) |
| CIE-LCH | lch(78.12, 48.78, 101.14°) |
| OKLab | oklab(80.81% -0.0278 0.1133) |
| OKLCH | oklch(80.81% 0.117 103.8) |
| XYZ | xyz(47.3163, 53.4198, 20.3864) |
| Luminance | 0.5342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.52
Sand (survey)
#E2CA76
ΔE00 5.19
Greenish Beige
#C9D179
ΔE00 5.44
Sandy
#F1DA7A
ΔE00 7.03
Greenish Tan
#BCCB7A
ΔE00 7.11
Puke Yellow
#C2BE0E
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC466 #666FCD
analogous
#CD9066 #CDC466 #A3CD66
triadic
#CDC466 #66CDC4 #C466CD
tetradic
#CDC466 #66CD90 #666FCD #CD66A3
square
#CDC466 #66CD90 #666FCD #CD66A3
split-complementary
#CDC466 #66A3CD #9066CD
monochromatic
#8B832D #B9AE3D #CDC466 #DCD694 #EBE8C2
Accessibility & contrast
On white
1.80
#CDC466 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.68
#CDC466 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC466
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC466 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC466 | 1.00 | 1.80 | 11.68 | 11.68 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#D6C36A
Tritanopia (blue-blind)
#DAB9AE
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc466; /* rgb */ color: rgb(205, 196, 102); /* oklch */ color: oklch(80.8% 0.117 103.8);
Tailwind
colors: {
custom: {
50: '#ded594',
500: '#cdc466',
950: '#000000',
},
}SCSS
$custom: #cdc466; $custom-light: #ded594; $custom-dark: #000000;
JSON
{
"hex": "#cdc466",
"rgb": {
"r": 205,
"g": 196,
"b": 102
},
"hsl": {
"h": 54.757,
"s": 50.739,
"l": 60.196
},
"oklch": {
"l": 0.80813,
"c": 0.11667,
"h": 103.8
},
"luminance": 0.53418
}Semantic roles & 50–950 ramp
primary
#CDC466
secondary
#454C92
accent
#35BE27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F