#CDC556#CDC556
#CDC556 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.133 H 105.2°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC556 |
|---|---|
| RGB | rgb(205, 197, 86) |
| HSL | hsl(56, 54%, 57%) |
| HSV | hsv(56, 58%, 80%) |
| CMYK | cmyk(0%, 3.9%, 58%, 19.6%) |
| CIE-LAB | lab(78.22, -11.22, 55.44) |
| CIE-LCH | lch(78.22, 56.56, 101.44°) |
| OKLab | oklab(80.84% -0.0346 0.128) |
| OKLCH | oklch(80.84% 0.133 105.2) |
| XYZ | xyz(46.8243, 53.5851, 16.6787) |
| Luminance | 0.5358 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 5.38
Puke Yellow
#C2BE0E
ΔE00 5.43
Dirty Yellow
#CDC50A
ΔE00 5.57
Ugly Yellow
#D0C101
ΔE00 6.02
Olive Yellow
#C2B709
ΔE00 6.08
Darkkhaki
#BDB76B
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC556 #565ECD
analogous
#CD8956 #CDC556 #9ACD56
triadic
#CDC556 #56CDC5 #C556CD
tetradic
#CDC556 #56CD89 #565ECD #CD569A
square
#CDC556 #56CD89 #565ECD #CD569A
split-complementary
#CDC556 #569ACD #8956CD
monochromatic
#827C26 #B1A934 #CDC556 #DBD585 #E9E5B4
Accessibility & contrast
On white
1.79
#CDC556 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.72
#CDC556 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC556
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC556 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC556 | 1.00 | 1.79 | 11.72 | 11.72 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BF4A
Deuteranopia (green-blind)
#D8C45C
Tritanopia (blue-blind)
#DBB9AD
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc556; /* rgb */ color: rgb(205, 197, 86); /* oklch */ color: oklch(80.8% 0.133 105.2);
Tailwind
colors: {
custom: {
50: '#dfd68a',
500: '#cdc556',
950: '#000000',
},
}SCSS
$custom: #cdc556; $custom-light: #dfd68a; $custom-dark: #000000;
JSON
{
"hex": "#cdc556",
"rgb": {
"r": 205,
"g": 197,
"b": 86
},
"hsl": {
"h": 55.966,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.80836,
"c": 0.13258,
"h": 105.2
},
"luminance": 0.53584
}Semantic roles & 50–950 ramp
primary
#CDC556
secondary
#3E4389
accent
#54DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F