#CDC063#CDC063
#CDC063 is a light, moderate yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.116 H 101.4°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC063 |
|---|---|
| RGB | rgb(205, 192, 99) |
| HSL | hsl(53, 51%, 60%) |
| HSV | hsv(53, 52%, 80%) |
| CMYK | cmyk(0%, 6.3%, 51.7%, 19.6%) |
| CIE-LAB | lab(77.03, -7.63, 48.01) |
| CIE-LCH | lch(77.03, 48.61, 99.03°) |
| OKLab | oklab(79.94% -0.0229 0.1134) |
| OKLCH | oklch(79.94% 0.116 101.4) |
| XYZ | xyz(46.2800, 51.5809, 19.3202) |
| Luminance | 0.5158 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.27
Sand (survey)
#E2CA76
ΔE00 4.74
Greenish Beige
#C9D179
ΔE00 6.78
Sandy
#F1DA7A
ΔE00 7.24
Desert
#CCAD60
ΔE00 7.47
Olive Yellow
#C2B709
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC063 #6370CD
analogous
#CD8B63 #CDC063 #A5CD63
triadic
#CDC063 #63CDC0 #C063CD
tetradic
#CDC063 #63CD8B #6370CD #CD63A5
square
#CDC063 #63CD8B #6370CD #CD63A5
split-complementary
#CDC063 #63A5CD #8B63CD
monochromatic
#8A7E2C #B8A93B #CDC063 #DCD391 #EBE5C0
Accessibility & contrast
On white
1.86
#CDC063 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.32
#CDC063 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC063
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC063 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC063 | 1.00 | 1.86 | 11.32 | 11.32 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBB5B
Deuteranopia (green-blind)
#D3C167
Tritanopia (blue-blind)
#DAB5AB
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #cdc063; /* rgb */ color: rgb(205, 192, 99); /* oklch */ color: oklch(79.9% 0.116 101.4);
Tailwind
colors: {
custom: {
50: '#ded292',
500: '#cdc063',
950: '#000000',
},
}SCSS
$custom: #cdc063; $custom-light: #ded292; $custom-dark: #000000;
JSON
{
"hex": "#cdc063",
"rgb": {
"r": 205,
"g": 192,
"b": 99
},
"hsl": {
"h": 52.642,
"s": 51.456,
"l": 59.608
},
"oklch": {
"l": 0.79935,
"c": 0.11566,
"h": 101.4
},
"luminance": 0.51579
}Semantic roles & 50–950 ramp
primary
#CDC063
secondary
#444D90
accent
#5EDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F