#CCB366#CCB366
#CCB366 is a light, moderate yellow. Relative luminance 0.460; OKLCH L 77.2% C 0.101 H 91.9°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB366 |
|---|---|
| RGB | rgb(204, 179, 102) |
| HSL | hsl(45, 50%, 60%) |
| HSV | hsv(45, 50%, 80%) |
| CMYK | cmyk(0%, 12.3%, 50%, 20%) |
| CIE-LAB | lab(73.57, -0.99, 42.34) |
| CIE-LCH | lch(73.57, 42.36, 91.34°) |
| OKLab | oklab(77.19% -0.0034 0.1012) |
| OKLCH | oklch(77.19% 0.101 91.9) |
| XYZ | xyz(43.4217, 46.0388, 19.1670) |
| Luminance | 0.4604 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.29
Tan (survey)
#D1B26F
ΔE00 2.97
Sandy Brown
#C4A661
ΔE00 4.05
Sandstone
#C9AE74
ΔE00 4.11
Sand Brown
#CBA560
ΔE00 5.63
Darkkhaki
#BDB76B
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB366 #667FCC
analogous
#CC8066 #CCB366 #B2CC66
triadic
#CCB366 #66CCB3 #B366CC
tetradic
#CCB366 #66CC80 #667FCC #CC66B2
square
#CCB366 #66CC80 #667FCC #CC66B2
split-complementary
#CCB366 #66B2CC #8066CC
monochromatic
#8A732E #B89A3D #CCB366 #DBCA94 #EBE1C2
Accessibility & contrast
On white
2.06
#CCB366 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.21
#CCB366 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB366
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB366 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB366 | 1.00 | 2.06 | 10.21 | 10.21 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2B060
Deuteranopia (green-blind)
#C8B869
Tritanopia (blue-blind)
#DAA8A1
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #ccb366; /* rgb */ color: rgb(204, 179, 102); /* oklch */ color: oklch(77.2% 0.101 91.9);
Tailwind
colors: {
custom: {
50: '#dec993',
500: '#ccb366',
950: '#000000',
},
}SCSS
$custom: #ccb366; $custom-light: #dec993; $custom-dark: #000000;
JSON
{
"hex": "#ccb366",
"rgb": {
"r": 204,
"g": 179,
"b": 102
},
"hsl": {
"h": 45.294,
"s": 50,
"l": 60
},
"oklch": {
"l": 0.77189,
"c": 0.10124,
"h": 91.9
},
"luminance": 0.46037
}Semantic roles & 50–950 ramp
primary
#CCB366
secondary
#B3BDDB
accent
#70DA4E
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E