#CDC675#CDC675
#CDC675 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.103 H 104.1°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC675 |
|---|---|
| RGB | rgb(205, 198, 117) |
| HSL | hsl(55, 47%, 63%) |
| HSV | hsv(55, 43%, 80%) |
| CMYK | cmyk(0%, 3.4%, 42.9%, 19.6%) |
| CIE-LAB | lab(78.84, -9.02, 41.35) |
| CIE-LCH | lch(78.84, 42.32, 102.31°) |
| OKLab | oklab(81.45% -0.0252 0.1) |
| OKLCH | oklch(81.45% 0.103 104.1) |
| XYZ | xyz(48.5828, 54.6530, 24.8160) |
| Luminance | 0.5465 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.01
Greenish Beige
#C9D179
ΔE00 4.52
Sand (survey)
#E2CA76
ΔE00 5.24
Greenish Tan
#BCCB7A
ΔE00 5.92
Pale Olive
#B9CC81
ΔE00 7.22
Sandy
#F1DA7A
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC675 #757CCD
analogous
#CD9A75 #CDC675 #A8CD75
triadic
#CDC675 #75CDC6 #C675CD
tetradic
#CDC675 #75CD9A #757CCD #CD75A8
square
#CDC675 #75CD9A #757CCD #CD75A8
split-complementary
#CDC675 #75A8CD #9A75CD
monochromatic
#938B35 #BDB348 #CDC675 #DDD9A2 #EEEBCF
Accessibility & contrast
On white
1.76
#CDC675 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.93
#CDC675 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC675
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC675 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC675 | 1.00 | 1.76 | 11.93 | 11.93 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C16F
Deuteranopia (green-blind)
#D6C578
Tritanopia (blue-blind)
#D9BCB2
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc675; /* rgb */ color: rgb(205, 198, 117); /* oklch */ color: oklch(81.4% 0.103 104.1);
Tailwind
colors: {
custom: {
50: '#ded79e',
500: '#cdc675',
950: '#000000',
},
}SCSS
$custom: #cdc675; $custom-light: #ded79e; $custom-dark: #000000;
JSON
{
"hex": "#cdc675",
"rgb": {
"r": 205,
"g": 198,
"b": 117
},
"hsl": {
"h": 55.227,
"s": 46.809,
"l": 63.137
},
"oklch": {
"l": 0.81445,
"c": 0.1031,
"h": 104.1
},
"luminance": 0.54652
}Semantic roles & 50–950 ramp
primary
#CDC675
secondary
#4D5399
accent
#37BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F