#CDC47D#CDC47D
#CDC47D is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.2% C 0.092 H 102.0°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC47D |
|---|---|
| RGB | rgb(205, 196, 125) |
| HSL | hsl(53, 44%, 65%) |
| HSV | hsv(53, 39%, 80%) |
| CMYK | cmyk(0%, 4.4%, 39%, 19.6%) |
| CIE-LAB | lab(78.43, -7.14, 36.77) |
| CIE-LCH | lch(78.43, 37.46, 100.98°) |
| OKLab | oklab(81.16% -0.0191 0.09) |
| OKLCH | oklch(81.16% 0.092 102) |
| XYZ | xyz(48.6193, 53.9410, 27.2486) |
| Luminance | 0.5394 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.87
Sand (survey)
#E2CA76
ΔE00 5.23
Greenish Beige
#C9D179
ΔE00 5.70
Sand
#C2B280
ΔE00 6.52
Greenish Tan
#BCCB7A
ΔE00 6.61
Beige (survey)
#E6DAA6
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC47D #7D86CD
analogous
#CD9C7D #CDC47D #AECD7D
triadic
#CDC47D #7DCDC4 #C47DCD
tetradic
#CDC47D #7DCD9C #7D86CD #CD7DAE
square
#CDC47D #7DCD9C #7D86CD #CD7DAE
split-complementary
#CDC47D #7DAECD #9C7DCD
monochromatic
#968C3A #BCB051 #CDC47D #DED8A9 #EFECD5
Accessibility & contrast
On white
1.78
#CDC47D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.79
#CDC47D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC47D
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC47D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC47D | 1.00 | 1.78 | 11.79 | 11.79 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0C078
Deuteranopia (green-blind)
#D3C480
Tritanopia (blue-blind)
#D8BBB2
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc47d; /* rgb */ color: rgb(205, 196, 125); /* oklch */ color: oklch(81.2% 0.092 102.0);
Tailwind
colors: {
custom: {
50: '#ddd5a3',
500: '#cdc47d',
950: '#000000',
},
}SCSS
$custom: #cdc47d; $custom-light: #ddd5a3; $custom-dark: #000000;
JSON
{
"hex": "#cdc47d",
"rgb": {
"r": 205,
"g": 196,
"b": 125
},
"hsl": {
"h": 53.25,
"s": 44.444,
"l": 64.706
},
"oklch": {
"l": 0.81155,
"c": 0.09201,
"h": 102
},
"luminance": 0.5394
}Semantic roles & 50–950 ramp
primary
#CDC47D
secondary
#525A9C
accent
#3DB82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380