#CDC664#CDC664
#CDC664 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.121 H 105.1°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC664 |
|---|---|
| RGB | rgb(205, 198, 100) |
| HSL | hsl(56, 51%, 60%) |
| HSV | hsv(56, 51%, 80%) |
| CMYK | cmyk(0%, 3.4%, 51.2%, 19.6%) |
| CIE-LAB | lab(78.63, -10.62, 49.42) |
| CIE-LCH | lch(78.63, 50.55, 102.13°) |
| OKLab | oklab(81.21% -0.0314 0.1165) |
| OKLCH | oklch(81.21% 0.121 105.1) |
| XYZ | xyz(47.6725, 54.2888, 20.0217) |
| Luminance | 0.5429 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.01
Darkkhaki
#BDB76B
ΔE00 5.09
Sand (survey)
#E2CA76
ΔE00 5.70
Greenish Tan
#BCCB7A
ΔE00 6.85
Sandy
#F1DA7A
ΔE00 7.05
Puke Yellow
#C2BE0E
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC664 #646BCD
analogous
#CD9264 #CDC664 #A0CD64
triadic
#CDC664 #64CDC6 #C664CD
tetradic
#CDC664 #64CD92 #646BCD #CD64A0
square
#CDC664 #64CD92 #646BCD #CD64A0
split-complementary
#CDC664 #64A0CD #9264CD
monochromatic
#8A842D #B8B03B #CDC664 #DCD792 #EBE8C1
Accessibility & contrast
On white
1.77
#CDC664 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.86
#CDC664 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC664
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC664 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC664 | 1.00 | 1.77 | 11.86 | 11.86 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C05B
Deuteranopia (green-blind)
#D7C569
Tritanopia (blue-blind)
#DABBB0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc664; /* rgb */ color: rgb(205, 198, 100); /* oklch */ color: oklch(81.2% 0.121 105.1);
Tailwind
colors: {
custom: {
50: '#ded793',
500: '#cdc664',
950: '#000000',
},
}SCSS
$custom: #cdc664; $custom-light: #ded793; $custom-dark: #000000;
JSON
{
"hex": "#cdc664",
"rgb": {
"r": 205,
"g": 198,
"b": 100
},
"hsl": {
"h": 56,
"s": 51.22,
"l": 59.804
},
"oklch": {
"l": 0.81209,
"c": 0.1207,
"h": 105.1
},
"luminance": 0.54287
}Semantic roles & 50–950 ramp
primary
#CDC664
secondary
#444991
accent
#57DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F