#CDC663#CDC663
#CDC663 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.122 H 105.1°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC663 |
|---|---|
| RGB | rgb(205, 198, 99) |
| HSL | hsl(56, 51%, 60%) |
| HSV | hsv(56, 52%, 80%) |
| CMYK | cmyk(0%, 3.4%, 51.7%, 19.6%) |
| CIE-LAB | lab(78.62, -10.71, 49.89) |
| CIE-LCH | lch(78.62, 51.02, 102.11°) |
| OKLab | oklab(81.2% -0.0318 0.1175) |
| OKLCH | oklch(81.2% 0.122 105.1) |
| XYZ | xyz(47.6244, 54.2696, 19.7684) |
| Luminance | 0.5427 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.08
Darkkhaki
#BDB76B
ΔE00 5.18
Sand (survey)
#E2CA76
ΔE00 5.76
Greenish Tan
#BCCB7A
ΔE00 6.93
Puke Yellow
#C2BE0E
ΔE00 7.01
Vomit Yellow
#C7C10C
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC663 #636ACD
analogous
#CD9163 #CDC663 #9FCD63
triadic
#CDC663 #63CDC6 #C663CD
tetradic
#CDC663 #63CD91 #636ACD #CD639F
square
#CDC663 #63CD91 #636ACD #CD639F
split-complementary
#CDC663 #639FCD #9163CD
monochromatic
#8A832C #B8B03B #CDC663 #DCD791 #EBE8C0
Accessibility & contrast
On white
1.77
#CDC663 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.85
#CDC663 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC663
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC663 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC663 | 1.00 | 1.77 | 11.85 | 11.85 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C05A
Deuteranopia (green-blind)
#D7C568
Tritanopia (blue-blind)
#DABBAF
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc663; /* rgb */ color: rgb(205, 198, 99); /* oklch */ color: oklch(81.2% 0.122 105.1);
Tailwind
colors: {
custom: {
50: '#ded792',
500: '#cdc663',
950: '#000000',
},
}SCSS
$custom: #cdc663; $custom-light: #ded792; $custom-dark: #000000;
JSON
{
"hex": "#cdc663",
"rgb": {
"r": 205,
"g": 198,
"b": 99
},
"hsl": {
"h": 56.038,
"s": 51.456,
"l": 59.608
},
"oklch": {
"l": 0.81197,
"c": 0.12167,
"h": 105.1
},
"luminance": 0.54268
}Semantic roles & 50–950 ramp
primary
#CDC663
secondary
#444990
accent
#56DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F