#CDCC6A#CDCC6A
#CDCC6A is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.121 H 108.3°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #CDCC6A |
|---|---|
| RGB | rgb(205, 204, 106) |
| HSL | hsl(59, 50%, 61%) |
| HSV | hsv(59, 48%, 80%) |
| CMYK | cmyk(0%, 0.5%, 48.3%, 19.6%) |
| CIE-LAB | lab(80.30, -13.14, 48.54) |
| CIE-LCH | lch(80.30, 50.28, 105.14°) |
| OKLab | oklab(82.56% -0.038 0.1151) |
| OKLCH | oklch(82.56% 0.121 108.3) |
| XYZ | xyz(49.3723, 57.2067, 22.0741) |
| Luminance | 0.5720 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.20
Greenish Tan
#BCCB7A
ΔE00 5.45
Darkkhaki
#BDB76B
ΔE00 6.09
Sand (survey)
#E2CA76
ΔE00 6.87
Khaki (CSS)
#F0E68C
ΔE00 7.03
Pale Olive
#B9CC81
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDCC6A #6A6BCD
analogous
#CD9A6A #CDCC6A #9CCD6A
triadic
#CDCC6A #6ACDCC #CC6ACD
tetradic
#CDCC6A #6ACD9A #6A6BCD #CD6A9C
square
#CDCC6A #6ACD9A #6A6BCD #CD6A9C
split-complementary
#CDCC6A #6A9CCD #9A6ACD
monochromatic
#8D8C2F #BBBA3F #CDCC6A #DCDC98 #ECEBC6
Accessibility & contrast
On white
1.69
#CDCC6A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.44
#CDCC6A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDCC6A
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDCC6A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDCC6A | 1.00 | 1.69 | 12.44 | 12.44 |
| #FFFFFF | 1.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC561
Deuteranopia (green-blind)
#DBC96F
Tritanopia (blue-blind)
#D9C1B5
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #cdcc6a; /* rgb */ color: rgb(205, 204, 106); /* oklch */ color: oklch(82.6% 0.121 108.3);
Tailwind
colors: {
custom: {
50: '#dedb97',
500: '#cdcc6a',
950: '#000000',
},
}SCSS
$custom: #cdcc6a; $custom-light: #dedb97; $custom-dark: #000000;
JSON
{
"hex": "#cdcc6a",
"rgb": {
"r": 205,
"g": 204,
"b": 106
},
"hsl": {
"h": 59.394,
"s": 49.749,
"l": 60.98
},
"oklch": {
"l": 0.82557,
"c": 0.12124,
"h": 108.3
},
"luminance": 0.57205
}Semantic roles & 50–950 ramp
primary
#CDCC6A
secondary
#474894
accent
#2ABD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F