#CDC756#CDC756
#CDC756 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.135 H 106.2°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC756 |
|---|---|
| RGB | rgb(205, 199, 86) |
| HSL | hsl(57, 54%, 57%) |
| HSV | hsv(57, 58%, 80%) |
| CMYK | cmyk(0%, 2.9%, 58%, 19.6%) |
| CIE-LAB | lab(78.75, -12.24, 56.03) |
| CIE-LCH | lch(78.75, 57.35, 102.32°) |
| OKLab | oklab(81.26% -0.0375 0.1292) |
| OKLCH | oklch(81.26% 0.135 106.2) |
| XYZ | xyz(47.2815, 54.4994, 16.8311) |
| Luminance | 0.5450 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 5.35
Puke Yellow
#C2BE0E
ΔE00 5.42
Dirty Yellow
#CDC50A
ΔE00 5.49
Greenish Beige
#C9D179
ΔE00 5.96
Ugly Yellow
#D0C101
ΔE00 6.15
Olive Yellow
#C2B709
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC756 #565CCD
analogous
#CD8C56 #CDC756 #98CD56
triadic
#CDC756 #56CDC7 #C756CD
tetradic
#CDC756 #56CD8C #565CCD #CD5698
square
#CDC756 #56CD8C #565CCD #CD5698
split-complementary
#CDC756 #5698CD #8C56CD
monochromatic
#827D26 #B1AB34 #CDC756 #DBD785 #E9E6B4
Accessibility & contrast
On white
1.76
#CDC756 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.90
#CDC756 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC756
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC756 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC756 | 1.00 | 1.76 | 11.90 | 11.90 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#DBBBAF
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc756; /* rgb */ color: rgb(205, 199, 86); /* oklch */ color: oklch(81.3% 0.135 106.2);
Tailwind
colors: {
custom: {
50: '#dfd78a',
500: '#cdc756',
950: '#000000',
},
}SCSS
$custom: #cdc756; $custom-light: #dfd78a; $custom-dark: #000000;
JSON
{
"hex": "#cdc756",
"rgb": {
"r": 205,
"g": 199,
"b": 86
},
"hsl": {
"h": 56.975,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.8126,
"c": 0.13457,
"h": 106.2
},
"luminance": 0.54498
}Semantic roles & 50–950 ramp
primary
#CDC756
secondary
#3E4289
accent
#52DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F