#CDC366#CDC366
#CDC366 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.116 H 103.1°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC366 |
|---|---|
| RGB | rgb(205, 195, 102) |
| HSL | hsl(54, 51%, 60%) |
| HSV | hsv(54, 50%, 80%) |
| CMYK | cmyk(0%, 4.9%, 50.2%, 19.6%) |
| CIE-LAB | lab(77.86, -8.91, 47.55) |
| CIE-LCH | lch(77.86, 48.37, 100.62°) |
| OKLab | oklab(80.6% -0.0263 0.1126) |
| OKLCH | oklch(80.6% 0.116 103.1) |
| XYZ | xyz(47.0915, 52.9702, 20.3115) |
| Luminance | 0.5297 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.35
Sand (survey)
#E2CA76
ΔE00 5.01
Greenish Beige
#C9D179
ΔE00 5.74
Sandy
#F1DA7A
ΔE00 7.06
Greenish Tan
#BCCB7A
ΔE00 7.34
Puke Yellow
#C2BE0E
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC366 #6670CD
analogous
#CD9066 #CDC366 #A3CD66
triadic
#CDC366 #66CDC3 #C366CD
tetradic
#CDC366 #66CD90 #6670CD #CD66A3
square
#CDC366 #66CD90 #6670CD #CD66A3
split-complementary
#CDC366 #66A3CD #9066CD
monochromatic
#8B822D #B9AD3D #CDC366 #DCD594 #EBE7C2
Accessibility & contrast
On white
1.81
#CDC366 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.59
#CDC366 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC366
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC366 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC366 | 1.00 | 1.81 | 11.59 | 11.59 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BE5E
Deuteranopia (green-blind)
#D5C36A
Tritanopia (blue-blind)
#DAB8AD
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc366; /* rgb */ color: rgb(205, 195, 102); /* oklch */ color: oklch(80.6% 0.116 103.1);
Tailwind
colors: {
custom: {
50: '#ded594',
500: '#cdc366',
950: '#000000',
},
}SCSS
$custom: #cdc366; $custom-light: #ded594; $custom-dark: #000000;
JSON
{
"hex": "#cdc366",
"rgb": {
"r": 205,
"g": 195,
"b": 102
},
"hsl": {
"h": 54.175,
"s": 50.739,
"l": 60.196
},
"oklch": {
"l": 0.80603,
"c": 0.11565,
"h": 103.1
},
"luminance": 0.52969
}Semantic roles & 50–950 ramp
primary
#CDC366
secondary
#454D92
accent
#36BE27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F