#CDC356#CDC356
#CDC356 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.4% C 0.131 H 104.1°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC356 |
|---|---|
| RGB | rgb(205, 195, 86) |
| HSL | hsl(55, 54%, 57%) |
| HSV | hsv(55, 58%, 80%) |
| CMYK | cmyk(0%, 4.9%, 58%, 19.6%) |
| CIE-LAB | lab(77.69, -10.20, 54.84) |
| CIE-LCH | lch(77.69, 55.78, 100.54°) |
| OKLab | oklab(80.41% -0.0317 0.1267) |
| OKLCH | oklch(80.41% 0.131 104.1) |
| XYZ | xyz(46.3732, 52.6828, 16.5284) |
| Luminance | 0.5268 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 5.51
Puke Yellow
#C2BE0E
ΔE00 5.53
Dirty Yellow
#CDC50A
ΔE00 5.73
Olive Yellow
#C2B709
ΔE00 5.91
Darkkhaki
#BDB76B
ΔE00 5.93
Ugly Yellow
#D0C101
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC356 #5660CD
analogous
#CD8856 #CDC356 #9CCD56
triadic
#CDC356 #56CDC3 #C356CD
tetradic
#CDC356 #56CD88 #5660CD #CD569C
square
#CDC356 #56CD88 #5660CD #CD569C
split-complementary
#CDC356 #569CCD #8856CD
monochromatic
#827A26 #B1A734 #CDC356 #DBD485 #E9E5B4
Accessibility & contrast
On white
1.82
#CDC356 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.54
#CDC356 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC356
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC356 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC356 | 1.00 | 1.82 | 11.54 | 11.54 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BD4A
Deuteranopia (green-blind)
#D6C25C
Tritanopia (blue-blind)
#DBB7AB
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc356; /* rgb */ color: rgb(205, 195, 86); /* oklch */ color: oklch(80.4% 0.131 104.1);
Tailwind
colors: {
custom: {
50: '#dfd489',
500: '#cdc356',
950: '#000000',
},
}SCSS
$custom: #cdc356; $custom-light: #dfd489; $custom-dark: #000000;
JSON
{
"hex": "#cdc356",
"rgb": {
"r": 205,
"g": 195,
"b": 86
},
"hsl": {
"h": 54.958,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.80413,
"c": 0.13062,
"h": 104.1
},
"luminance": 0.52681
}Semantic roles & 50–950 ramp
primary
#CDC356
secondary
#3E4489
accent
#57DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F