#CDC173#CDC173
#CDC173 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.100 H 100.7°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC173 |
|---|---|
| RGB | rgb(205, 193, 115) |
| HSL | hsl(52, 47%, 63%) |
| HSV | hsv(52, 44%, 80%) |
| CMYK | cmyk(0%, 5.9%, 43.9%, 19.6%) |
| CIE-LAB | lab(77.49, -6.65, 40.67) |
| CIE-LCH | lch(77.49, 41.21, 99.28°) |
| OKLab | oklab(80.37% -0.0185 0.0983) |
| OKLCH | oklch(80.37% 0.1 100.7) |
| XYZ | xyz(47.3424, 52.3583, 23.8287) |
| Luminance | 0.5236 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.43
Sand (survey)
#E2CA76
ΔE00 4.50
Greenish Beige
#C9D179
ΔE00 6.34
Sand
#C2B280
ΔE00 6.79
Tan (survey)
#D1B26F
ΔE00 7.12
Desert
#CCAD60
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC173 #737FCD
analogous
#CD9473 #CDC173 #ACCD73
triadic
#CDC173 #73CDC1 #C173CD
tetradic
#CDC173 #73CD94 #737FCD #CD73AC
square
#CDC173 #73CD94 #737FCD #CD73AC
split-complementary
#CDC173 #73ACCD #9473CD
monochromatic
#928534 #BDAD46 #CDC173 #DDD5A0 #EDE9CD
Accessibility & contrast
On white
1.83
#CDC173 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.47
#CDC173 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC173
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC173 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC173 | 1.00 | 1.83 | 11.47 | 11.47 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBD6D
Deuteranopia (green-blind)
#D2C276
Tritanopia (blue-blind)
#D9B7AE
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc173; /* rgb */ color: rgb(205, 193, 115); /* oklch */ color: oklch(80.4% 0.100 100.7);
Tailwind
colors: {
custom: {
50: '#ded39c',
500: '#cdc173',
950: '#000000',
},
}SCSS
$custom: #cdc173; $custom-light: #ded39c; $custom-dark: #000000;
JSON
{
"hex": "#cdc173",
"rgb": {
"r": 205,
"g": 193,
"b": 115
},
"hsl": {
"h": 52,
"s": 47.368,
"l": 62.745
},
"oklch": {
"l": 0.80369,
"c": 0.10006,
"h": 100.7
},
"luminance": 0.52357
}Semantic roles & 50–950 ramp
primary
#CDC173
secondary
#4C5698
accent
#3EBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F