#CDC673#CDC673
#CDC673 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.105 H 104.3°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC673 |
|---|---|
| RGB | rgb(205, 198, 115) |
| HSL | hsl(55, 47%, 63%) |
| HSV | hsv(55, 44%, 80%) |
| CMYK | cmyk(0%, 3.4%, 43.9%, 19.6%) |
| CIE-LAB | lab(78.81, -9.22, 42.32) |
| CIE-LCH | lch(78.81, 43.31, 102.29°) |
| OKLab | oklab(81.42% -0.0259 0.102) |
| OKLCH | oklch(81.42% 0.105 104.3) |
| XYZ | xyz(48.4665, 54.6064, 24.2034) |
| Luminance | 0.5461 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.06
Greenish Beige
#C9D179
ΔE00 4.49
Sand (survey)
#E2CA76
ΔE00 5.24
Greenish Tan
#BCCB7A
ΔE00 5.98
Sandy
#F1DA7A
ΔE00 7.20
Pale Olive
#B9CC81
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC673 #737ACD
analogous
#CD9973 #CDC673 #A7CD73
triadic
#CDC673 #73CDC6 #C673CD
tetradic
#CDC673 #73CD99 #737ACD #CD73A7
square
#CDC673 #73CD99 #737ACD #CD73A7
split-complementary
#CDC673 #73A7CD #9973CD
monochromatic
#928A34 #BDB446 #CDC673 #DDD8A0 #EDEBCD
Accessibility & contrast
On white
1.76
#CDC673 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.92
#CDC673 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC673
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC673 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC673 | 1.00 | 1.76 | 11.92 | 11.92 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C16C
Deuteranopia (green-blind)
#D6C577
Tritanopia (blue-blind)
#D9BCB2
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc673; /* rgb */ color: rgb(205, 198, 115); /* oklch */ color: oklch(81.4% 0.105 104.3);
Tailwind
colors: {
custom: {
50: '#ded79d',
500: '#cdc673',
950: '#000000',
},
}SCSS
$custom: #cdc673; $custom-light: #ded79d; $custom-dark: #000000;
JSON
{
"hex": "#cdc673",
"rgb": {
"r": 205,
"g": 198,
"b": 115
},
"hsl": {
"h": 55.333,
"s": 47.368,
"l": 62.745
},
"oklch": {
"l": 0.81415,
"c": 0.10527,
"h": 104.3
},
"luminance": 0.54605
}Semantic roles & 50–950 ramp
primary
#CDC673
secondary
#4C5298
accent
#36BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F