#CDC676#CDC676
#CDC676 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.102 H 104.1°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC676 |
|---|---|
| RGB | rgb(205, 198, 118) |
| HSL | hsl(55, 47%, 63%) |
| HSV | hsv(55, 42%, 80%) |
| CMYK | cmyk(0%, 3.4%, 42.4%, 19.6%) |
| CIE-LAB | lab(78.85, -8.92, 40.87) |
| CIE-LCH | lch(78.85, 41.83, 102.31°) |
| OKLab | oklab(81.46% -0.0248 0.099) |
| OKLCH | oklch(81.46% 0.102 104.1) |
| XYZ | xyz(48.6419, 54.6766, 25.1273) |
| Luminance | 0.5467 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.99
Greenish Beige
#C9D179
ΔE00 4.54
Sand (survey)
#E2CA76
ΔE00 5.26
Greenish Tan
#BCCB7A
ΔE00 5.91
Pale Olive
#B9CC81
ΔE00 7.18
Sandy
#F1DA7A
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC676 #767DCD
analogous
#CD9A76 #CDC676 #A8CD76
triadic
#CDC676 #76CDC6 #C676CD
tetradic
#CDC676 #76CD9A #767DCD #CD76A8
square
#CDC676 #76CD9A #767DCD #CD76A8
split-complementary
#CDC676 #76A8CD #9A76CD
monochromatic
#938B36 #BDB349 #CDC676 #DDD9A3 #EEEBD0
Accessibility & contrast
On white
1.76
#CDC676 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.93
#CDC676 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC676
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC676 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC676 | 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)
#D3C170
Deuteranopia (green-blind)
#D6C579
Tritanopia (blue-blind)
#D9BCB3
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc676; /* rgb */ color: rgb(205, 198, 118); /* oklch */ color: oklch(81.5% 0.102 104.1);
Tailwind
colors: {
custom: {
50: '#ded79f',
500: '#cdc676',
950: '#000000',
},
}SCSS
$custom: #cdc676; $custom-light: #ded79f; $custom-dark: #000000;
JSON
{
"hex": "#cdc676",
"rgb": {
"r": 205,
"g": 198,
"b": 118
},
"hsl": {
"h": 55.172,
"s": 46.524,
"l": 63.333
},
"oklch": {
"l": 0.81461,
"c": 0.102,
"h": 104.1
},
"luminance": 0.54675
}Semantic roles & 50–950 ramp
primary
#CDC676
secondary
#4E5499
accent
#37BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F