#CDC266#CDC266
#CDC266 is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.115 H 102.5°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC266 |
|---|---|
| RGB | rgb(205, 194, 102) |
| HSL | hsl(54, 51%, 60%) |
| HSV | hsv(54, 50%, 80%) |
| CMYK | cmyk(0%, 5.4%, 50.2%, 19.6%) |
| CIE-LAB | lab(77.59, -8.40, 47.23) |
| CIE-LCH | lch(77.59, 47.97, 100.08°) |
| OKLab | oklab(80.39% -0.0248 0.1119) |
| OKLCH | oklch(80.39% 0.115 102.5) |
| XYZ | xyz(46.8682, 52.5236, 20.2370) |
| Luminance | 0.5252 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.21
Sand (survey)
#E2CA76
ΔE00 4.85
Greenish Beige
#C9D179
ΔE00 6.05
Sandy
#F1DA7A
ΔE00 7.10
Greenish Tan
#BCCB7A
ΔE00 7.59
Puke Yellow
#C2BE0E
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC266 #6671CD
analogous
#CD8E66 #CDC266 #A5CD66
triadic
#CDC266 #66CDC2 #C266CD
tetradic
#CDC266 #66CD8E #6671CD #CD66A5
square
#CDC266 #66CD8E #6671CD #CD66A5
split-complementary
#CDC266 #66A5CD #8E66CD
monochromatic
#8B812D #B9AC3D #CDC266 #DCD494 #EBE7C2
Accessibility & contrast
On white
1.83
#CDC266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.50
#CDC266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC266
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC266 | 1.00 | 1.83 | 11.50 | 11.50 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BD5E
Deuteranopia (green-blind)
#D4C26A
Tritanopia (blue-blind)
#DAB7AD
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc266; /* rgb */ color: rgb(205, 194, 102); /* oklch */ color: oklch(80.4% 0.115 102.5);
Tailwind
colors: {
custom: {
50: '#ded494',
500: '#cdc266',
950: '#000000',
},
}SCSS
$custom: #cdc266; $custom-light: #ded494; $custom-dark: #000000;
JSON
{
"hex": "#cdc266",
"rgb": {
"r": 205,
"g": 194,
"b": 102
},
"hsl": {
"h": 53.592,
"s": 50.739,
"l": 60.196
},
"oklch": {
"l": 0.80393,
"c": 0.11465,
"h": 102.5
},
"luminance": 0.52522
}Semantic roles & 50–950 ramp
primary
#CDC266
secondary
#454E92
accent
#37BE27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F