#CDC560#CDC560
#CDC560 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.124 H 104.7°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC560 |
|---|---|
| RGB | rgb(205, 197, 96) |
| HSL | hsl(56, 52%, 59%) |
| HSV | hsv(56, 53%, 80%) |
| CMYK | cmyk(0%, 3.9%, 53.2%, 19.6%) |
| CIE-LAB | lab(78.32, -10.45, 50.95) |
| CIE-LCH | lch(78.32, 52.02, 101.59°) |
| OKLab | oklab(80.95% -0.0314 0.1195) |
| OKLCH | oklch(80.95% 0.124 104.7) |
| XYZ | xyz(47.2558, 53.7577, 18.9511) |
| Luminance | 0.5376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.26
Greenish Beige
#C9D179
ΔE00 5.53
Sand (survey)
#E2CA76
ΔE00 5.73
Puke Yellow
#C2BE0E
ΔE00 6.65
Vomit Yellow
#C7C10C
ΔE00 6.66
Dirty Yellow
#CDC50A
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC560 #6068CD
analogous
#CD8F60 #CDC560 #9FCD60
triadic
#CDC560 #60CDC5 #C560CD
tetradic
#CDC560 #60CD8F #6068CD #CD609F
square
#CDC560 #60CD8F #6068CD #CD609F
split-complementary
#CDC560 #609FCD #8F60CD
monochromatic
#88812B #B6AD39 #CDC560 #DCD68F #EAE7BD
Accessibility & contrast
On white
1.79
#CDC560 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.75
#CDC560 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC560
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC560 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC560 | 1.00 | 1.79 | 11.75 | 11.75 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BF56
Deuteranopia (green-blind)
#D7C465
Tritanopia (blue-blind)
#DABAAE
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc560; /* rgb */ color: rgb(205, 197, 96); /* oklch */ color: oklch(80.9% 0.124 104.7);
Tailwind
colors: {
custom: {
50: '#ded690',
500: '#cdc560',
950: '#000000',
},
}SCSS
$custom: #cdc560; $custom-light: #ded690; $custom-dark: #000000;
JSON
{
"hex": "#cdc560",
"rgb": {
"r": 205,
"g": 197,
"b": 96
},
"hsl": {
"h": 55.596,
"s": 52.153,
"l": 59.02
},
"oklch": {
"l": 0.80949,
"c": 0.12351,
"h": 104.7
},
"luminance": 0.53756
}Semantic roles & 50–950 ramp
primary
#CDC560
secondary
#42488F
accent
#57DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F