#CDC46D#CDC46D
#CDC46D is a light, moderate yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.110 H 103.3°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC46D |
|---|---|
| RGB | rgb(205, 196, 109) |
| HSL | hsl(54, 49%, 62%) |
| HSV | hsv(54, 47%, 80%) |
| CMYK | cmyk(0%, 4.4%, 46.8%, 19.6%) |
| CIE-LAB | lab(78.21, -8.78, 44.55) |
| CIE-LCH | lch(78.21, 45.41, 101.15°) |
| OKLab | oklab(80.91% -0.0252 0.1066) |
| OKLCH | oklch(80.91% 0.11 103.3) |
| XYZ | xyz(47.6783, 53.5645, 22.2925) |
| Luminance | 0.5356 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.98
Sand (survey)
#E2CA76
ΔE00 4.93
Greenish Beige
#C9D179
ΔE00 5.21
Greenish Tan
#BCCB7A
ΔE00 6.73
Sandy
#F1DA7A
ΔE00 7.08
Light Olive
#ACBF69
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC46D #6D76CD
analogous
#CD946D #CDC46D #A6CD6D
triadic
#CDC46D #6DCDC4 #C46DCD
tetradic
#CDC46D #6DCD94 #6D76CD #CD6DA6
square
#CDC46D #6DCD94 #6D76CD #CD6DA6
split-complementary
#CDC46D #6DA6CD #946DCD
monochromatic
#8F8631 #BCB140 #CDC46D #DDD69B #ECE9C8
Accessibility & contrast
On white
1.79
#CDC46D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.71
#CDC46D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC46D
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC46D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC46D | 1.00 | 1.79 | 11.71 | 11.71 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BF66
Deuteranopia (green-blind)
#D5C471
Tritanopia (blue-blind)
#D9BAAF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc46d; /* rgb */ color: rgb(205, 196, 109); /* oklch */ color: oklch(80.9% 0.110 103.3);
Tailwind
colors: {
custom: {
50: '#ded598',
500: '#cdc46d',
950: '#000000',
},
}SCSS
$custom: #cdc46d; $custom-light: #ded598; $custom-dark: #000000;
JSON
{
"hex": "#cdc46d",
"rgb": {
"r": 205,
"g": 196,
"b": 109
},
"hsl": {
"h": 54.375,
"s": 48.98,
"l": 61.569
},
"oklch": {
"l": 0.80908,
"c": 0.10952,
"h": 103.3
},
"luminance": 0.53563
}Semantic roles & 50–950 ramp
primary
#CDC46D
secondary
#495095
accent
#37BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F