#CDC563#CDC563
#CDC563 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.121 H 104.6°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC563 |
|---|---|
| RGB | rgb(205, 197, 99) |
| HSL | hsl(55, 51%, 60%) |
| HSV | hsv(55, 52%, 80%) |
| CMYK | cmyk(0%, 3.9%, 51.7%, 19.6%) |
| CIE-LAB | lab(78.35, -10.20, 49.57) |
| CIE-LCH | lch(78.35, 50.61, 101.62°) |
| OKLab | oklab(80.99% -0.0303 0.1168) |
| OKLCH | oklch(80.99% 0.121 104.6) |
| XYZ | xyz(47.3965, 53.8140, 19.6924) |
| Luminance | 0.5381 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.97
Greenish Beige
#C9D179
ΔE00 5.33
Sand (survey)
#E2CA76
ΔE00 5.55
Puke Yellow
#C2BE0E
ΔE00 7.05
Sandy
#F1DA7A
ΔE00 7.05
Vomit Yellow
#C7C10C
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC563 #636BCD
analogous
#CD9063 #CDC563 #A0CD63
triadic
#CDC563 #63CDC5 #C563CD
tetradic
#CDC563 #63CD90 #636BCD #CD63A0
square
#CDC563 #63CD90 #636BCD #CD63A0
split-complementary
#CDC563 #63A0CD #9063CD
monochromatic
#8A822C #B8AE3B #CDC563 #DCD691 #EBE7C0
Accessibility & contrast
On white
1.79
#CDC563 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.76
#CDC563 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC563
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC563 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC563 | 1.00 | 1.79 | 11.76 | 11.76 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BF5A
Deuteranopia (green-blind)
#D7C468
Tritanopia (blue-blind)
#DABAAF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc563; /* rgb */ color: rgb(205, 197, 99); /* oklch */ color: oklch(81.0% 0.121 104.6);
Tailwind
colors: {
custom: {
50: '#ded692',
500: '#cdc563',
950: '#000000',
},
}SCSS
$custom: #cdc563; $custom-light: #ded692; $custom-dark: #000000;
JSON
{
"hex": "#cdc563",
"rgb": {
"r": 205,
"g": 197,
"b": 99
},
"hsl": {
"h": 55.472,
"s": 51.456,
"l": 59.608
},
"oklch": {
"l": 0.80986,
"c": 0.12064,
"h": 104.6
},
"luminance": 0.53812
}Semantic roles & 50–950 ramp
primary
#CDC563
secondary
#444A90
accent
#58DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F