#CDC661#CDC661
#CDC661 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.124 H 105.2°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC661 |
|---|---|
| RGB | rgb(205, 198, 97) |
| HSL | hsl(56, 52%, 59%) |
| HSV | hsv(56, 53%, 80%) |
| CMYK | cmyk(0%, 3.4%, 52.7%, 19.6%) |
| CIE-LAB | lab(78.60, -10.88, 50.81) |
| CIE-LCH | lch(78.60, 51.96, 102.08°) |
| OKLab | oklab(81.17% -0.0325 0.1193) |
| OKLCH | oklch(81.17% 0.124 105.2) |
| XYZ | xyz(47.5299, 54.2318, 19.2710) |
| Luminance | 0.5423 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.22
Darkkhaki
#BDB76B
ΔE00 5.36
Sand (survey)
#E2CA76
ΔE00 5.87
Puke Yellow
#C2BE0E
ΔE00 6.75
Vomit Yellow
#C7C10C
ΔE00 6.75
Dirty Yellow
#CDC50A
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC661 #6168CD
analogous
#CD9061 #CDC661 #9ECD61
triadic
#CDC661 #61CDC6 #C661CD
tetradic
#CDC661 #61CD90 #6168CD #CD619E
square
#CDC661 #61CD90 #6168CD #CD619E
split-complementary
#CDC661 #619ECD #9061CD
monochromatic
#88822B #B7AF3A #CDC661 #DCD78F #EAE8BE
Accessibility & contrast
On white
1.77
#CDC661 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.85
#CDC661 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC661
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC661 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC661 | 1.00 | 1.77 | 11.85 | 11.85 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C057
Deuteranopia (green-blind)
#D7C566
Tritanopia (blue-blind)
#DABBAF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc661; /* rgb */ color: rgb(205, 198, 97); /* oklch */ color: oklch(81.2% 0.124 105.2);
Tailwind
colors: {
custom: {
50: '#ded791',
500: '#cdc661',
950: '#000000',
},
}SCSS
$custom: #cdc661; $custom-light: #ded791; $custom-dark: #000000;
JSON
{
"hex": "#cdc661",
"rgb": {
"r": 205,
"g": 198,
"b": 97
},
"hsl": {
"h": 56.111,
"s": 51.923,
"l": 59.216
},
"oklch": {
"l": 0.81172,
"c": 0.12359,
"h": 105.2
},
"luminance": 0.5423
}Semantic roles & 50–950 ramp
primary
#CDC661
secondary
#43488F
accent
#56DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F