#CDC163#CDC163
#CDC163 is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.117 H 102.1°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC163 |
|---|---|
| RGB | rgb(205, 193, 99) |
| HSL | hsl(53, 51%, 60%) |
| HSV | hsv(53, 52%, 80%) |
| CMYK | cmyk(0%, 5.9%, 51.7%, 19.6%) |
| CIE-LAB | lab(77.29, -8.15, 48.32) |
| CIE-LCH | lch(77.29, 49.00, 99.57°) |
| OKLab | oklab(80.14% -0.0244 0.114) |
| OKLCH | oklch(80.14% 0.117 102.1) |
| XYZ | xyz(46.5003, 52.0215, 19.3937) |
| Luminance | 0.5202 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.36
Sand (survey)
#E2CA76
ΔE00 4.87
Greenish Beige
#C9D179
ΔE00 6.47
Sandy
#F1DA7A
ΔE00 7.17
Puke Yellow
#C2BE0E
ΔE00 7.42
Olive Yellow
#C2B709
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC163 #636FCD
analogous
#CD8C63 #CDC163 #A4CD63
triadic
#CDC163 #63CDC1 #C163CD
tetradic
#CDC163 #63CD8C #636FCD #CD63A4
square
#CDC163 #63CD8C #636FCD #CD63A4
split-complementary
#CDC163 #63A4CD #8C63CD
monochromatic
#8A7F2C #B8AA3B #CDC163 #DCD391 #EBE6C0
Accessibility & contrast
On white
1.84
#CDC163 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.40
#CDC163 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC163
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC163 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC163 | 1.00 | 1.84 | 11.40 | 11.40 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BC5A
Deuteranopia (green-blind)
#D3C167
Tritanopia (blue-blind)
#DAB6AB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc163; /* rgb */ color: rgb(205, 193, 99); /* oklch */ color: oklch(80.1% 0.117 102.1);
Tailwind
colors: {
custom: {
50: '#ded392',
500: '#cdc163',
950: '#000000',
},
}SCSS
$custom: #cdc163; $custom-light: #ded392; $custom-dark: #000000;
JSON
{
"hex": "#cdc163",
"rgb": {
"r": 205,
"g": 193,
"b": 99
},
"hsl": {
"h": 53.208,
"s": 51.456,
"l": 59.608
},
"oklch": {
"l": 0.80144,
"c": 0.11663,
"h": 102.1
},
"luminance": 0.5202
}Semantic roles & 50–950 ramp
primary
#CDC163
secondary
#444D90
accent
#5DDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F