#CDC975#CDC975
#CDC975 is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.106 H 106.1°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC975 |
|---|---|
| RGB | rgb(205, 201, 117) |
| HSL | hsl(57, 47%, 63%) |
| HSV | hsv(57, 43%, 80%) |
| CMYK | cmyk(0%, 2%, 42.9%, 19.6%) |
| CIE-LAB | lab(79.64, -10.55, 42.34) |
| CIE-LCH | lch(79.64, 43.64, 104.00°) |
| OKLab | oklab(82.08% -0.0296 0.1022) |
| OKLCH | oklch(82.08% 0.106 106.1) |
| XYZ | xyz(49.2753, 56.0380, 25.0469) |
| Luminance | 0.5604 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.46
Darkkhaki
#BDB76B
ΔE00 4.69
Greenish Tan
#BCCB7A
ΔE00 5.16
Sand (survey)
#E2CA76
ΔE00 5.89
Pale Olive
#B9CC81
ΔE00 6.55
Light Olive
#ACBF69
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC975 #7579CD
analogous
#CD9D75 #CDC975 #A5CD75
triadic
#CDC975 #75CDC9 #C975CD
tetradic
#CDC975 #75CD9D #7579CD #CD75A5
square
#CDC975 #75CD9D #7579CD #CD75A5
split-complementary
#CDC975 #75A5CD #9D75CD
monochromatic
#938E35 #BDB748 #CDC975 #DDDBA2 #EEECCF
Accessibility & contrast
On white
1.72
#CDC975 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.21
#CDC975 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC975
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC975 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC975 | 1.00 | 1.72 | 12.21 | 12.21 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C36E
Deuteranopia (green-blind)
#D8C779
Tritanopia (blue-blind)
#D8BFB5
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cdc975; /* rgb */ color: rgb(205, 201, 117); /* oklch */ color: oklch(82.1% 0.106 106.1);
Tailwind
colors: {
custom: {
50: '#ded99e',
500: '#cdc975',
950: '#000000',
},
}SCSS
$custom: #cdc975; $custom-light: #ded99e; $custom-dark: #000000;
JSON
{
"hex": "#cdc975",
"rgb": {
"r": 205,
"g": 201,
"b": 117
},
"hsl": {
"h": 57.273,
"s": 46.809,
"l": 63.137
},
"oklch": {
"l": 0.82076,
"c": 0.1064,
"h": 106.1
},
"luminance": 0.56037
}Semantic roles & 50–950 ramp
primary
#CDC975
secondary
#4D5199
accent
#32BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F