#CDC48D#CDC48D
#CDC48D is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.4% C 0.073 H 100.0°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC48D |
|---|---|
| RGB | rgb(205, 196, 141) |
| HSL | hsl(52, 39%, 68%) |
| HSV | hsv(52, 31%, 80%) |
| CMYK | cmyk(0%, 4.4%, 31.2%, 19.6%) |
| CIE-LAB | lab(78.68, -5.24, 28.81) |
| CIE-LCH | lch(78.68, 29.28, 100.30°) |
| OKLab | oklab(81.44% -0.0126 0.072) |
| OKLCH | oklch(81.44% 0.073 100) |
| XYZ | xyz(49.7249, 54.3832, 33.0717) |
| Luminance | 0.5438 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 5.13
Beige (survey)
#E6DAA6
ΔE00 5.65
Darkkhaki
#BDB76B
ΔE00 5.84
Sand (survey)
#E2CA76
ΔE00 7.02
Very Light Brown
#D3B683
ΔE00 7.45
Sandstone
#C9AE74
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC48D #8D96CD
analogous
#CDA48D #CDC48D #B6CD8D
triadic
#CDC48D #8DCDC4 #C48DCD
tetradic
#CDC48D #8DCDA4 #8D96CD #CD8DB6
square
#CDC48D #8DCDA4 #8D96CD #CD8DB6
split-complementary
#CDC48D #8DB6CD #A48DCD
monochromatic
#9B8F44 #BAAE62 #CDC48D #E0DAB8 #F2F0E2
Accessibility & contrast
On white
1.77
#CDC48D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.88
#CDC48D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC48D
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC48D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC48D | 1.00 | 1.77 | 11.88 | 11.88 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEC189
Deuteranopia (green-blind)
#D1C48F
Tritanopia (blue-blind)
#D7BCB6
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc48d; /* rgb */ color: rgb(205, 196, 141); /* oklch */ color: oklch(81.4% 0.073 100.0);
Tailwind
colors: {
custom: {
50: '#ddd5ae',
500: '#cdc48d',
950: '#000000',
},
}SCSS
$custom: #cdc48d; $custom-light: #ddd5ae; $custom-dark: #000000;
JSON
{
"hex": "#cdc48d",
"rgb": {
"r": 205,
"g": 196,
"b": 141
},
"hsl": {
"h": 51.563,
"s": 39.024,
"l": 67.843
},
"oklch": {
"l": 0.81442,
"c": 0.07312,
"h": 100
},
"luminance": 0.54382
}Semantic roles & 50–950 ramp
primary
#CDC48D
secondary
#5C66A2
accent
#45B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381