#CDC66A#CDC66A
#CDC66A is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.115 H 104.8°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC66A |
|---|---|
| RGB | rgb(205, 198, 106) |
| HSL | hsl(56, 50%, 61%) |
| HSV | hsv(56, 48%, 80%) |
| CMYK | cmyk(0%, 3.4%, 48.3%, 19.6%) |
| CIE-LAB | lab(78.70, -10.09, 46.62) |
| CIE-LCH | lch(78.70, 47.70, 102.21°) |
| OKLab | oklab(81.29% -0.0293 0.1109) |
| OKLCH | oklch(81.29% 0.115 104.8) |
| XYZ | xyz(47.9736, 54.4093, 21.6078) |
| Luminance | 0.5441 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.58
Greenish Beige
#C9D179
ΔE00 4.67
Sand (survey)
#E2CA76
ΔE00 5.42
Greenish Tan
#BCCB7A
ΔE00 6.42
Sandy
#F1DA7A
ΔE00 7.03
Light Olive
#ACBF69
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC66A #6A71CD
analogous
#CD946A #CDC66A #A2CD6A
triadic
#CDC66A #6ACDC6 #C66ACD
tetradic
#CDC66A #6ACD94 #6A71CD #CD6AA2
square
#CDC66A #6ACD94 #6A71CD #CD6AA2
split-complementary
#CDC66A #6AA2CD #946ACD
monochromatic
#8D872F #BBB23F #CDC66A #DCD898 #ECE9C6
Accessibility & contrast
On white
1.77
#CDC66A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.88
#CDC66A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC66A
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC66A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC66A | 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)
#D4C062
Deuteranopia (green-blind)
#D7C56E
Tritanopia (blue-blind)
#D9BBB1
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc66a; /* rgb */ color: rgb(205, 198, 106); /* oklch */ color: oklch(81.3% 0.115 104.8);
Tailwind
colors: {
custom: {
50: '#ded797',
500: '#cdc66a',
950: '#000000',
},
}SCSS
$custom: #cdc66a; $custom-light: #ded797; $custom-dark: #000000;
JSON
{
"hex": "#cdc66a",
"rgb": {
"r": 205,
"g": 198,
"b": 106
},
"hsl": {
"h": 55.758,
"s": 49.749,
"l": 60.98
},
"oklch": {
"l": 0.81288,
"c": 0.11472,
"h": 104.8
},
"luminance": 0.54408
}Semantic roles & 50–950 ramp
primary
#CDC66A
secondary
#474D94
accent
#33BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F