#CDC473#CDC473
#CDC473 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.103 H 102.9°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC473 |
|---|---|
| RGB | rgb(205, 196, 115) |
| HSL | hsl(54, 47%, 63%) |
| HSV | hsv(54, 44%, 80%) |
| CMYK | cmyk(0%, 4.4%, 43.9%, 19.6%) |
| CIE-LAB | lab(78.29, -8.20, 41.66) |
| CIE-LCH | lch(78.29, 42.46, 101.13°) |
| OKLab | oklab(81% -0.023 0.1006) |
| OKLCH | oklch(81% 0.103 102.9) |
| XYZ | xyz(48.0123, 53.6982, 24.0520) |
| Luminance | 0.5370 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.70
Sand (survey)
#E2CA76
ΔE00 4.87
Greenish Beige
#C9D179
ΔE00 5.21
Greenish Tan
#BCCB7A
ΔE00 6.54
Sandy
#F1DA7A
ΔE00 7.26
Sand
#C2B280
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC473 #737CCD
analogous
#CD9773 #CDC473 #A9CD73
triadic
#CDC473 #73CDC4 #C473CD
tetradic
#CDC473 #73CD97 #737CCD #CD73A9
square
#CDC473 #73CD97 #737CCD #CD73A9
split-complementary
#CDC473 #73A9CD #9773CD
monochromatic
#928834 #BDB146 #CDC473 #DDD7A0 #EDEACD
Accessibility & contrast
On white
1.79
#CDC473 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.74
#CDC473 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC473
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC473 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC473 | 1.00 | 1.79 | 11.74 | 11.74 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BF6C
Deuteranopia (green-blind)
#D4C476
Tritanopia (blue-blind)
#D9BAB0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc473; /* rgb */ color: rgb(205, 196, 115); /* oklch */ color: oklch(81.0% 0.103 102.9);
Tailwind
colors: {
custom: {
50: '#ded59c',
500: '#cdc473',
950: '#000000',
},
}SCSS
$custom: #cdc473; $custom-light: #ded59c; $custom-dark: #000000;
JSON
{
"hex": "#cdc473",
"rgb": {
"r": 205,
"g": 196,
"b": 115
},
"hsl": {
"h": 54,
"s": 47.368,
"l": 62.745
},
"oklch": {
"l": 0.80996,
"c": 0.10314,
"h": 102.9
},
"luminance": 0.53697
}Semantic roles & 50–950 ramp
primary
#CDC473
secondary
#4C5498
accent
#39BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F