#CCC46F#CCC46F
#CCC46F is a light, moderate yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.107 H 103.8°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CCC46F |
|---|---|
| RGB | rgb(204, 196, 111) |
| HSL | hsl(55, 48%, 62%) |
| HSV | hsv(55, 46%, 80%) |
| CMYK | cmyk(0%, 3.9%, 45.6%, 20%) |
| CIE-LAB | lab(78.15, -9.00, 43.47) |
| CIE-LCH | lch(78.15, 44.39, 101.70°) |
| OKLab | oklab(80.85% -0.0256 0.1043) |
| OKLCH | oklch(80.85% 0.107 103.8) |
| XYZ | xyz(47.5121, 53.4663, 22.8531) |
| Luminance | 0.5346 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.76
Greenish Beige
#C9D179
ΔE00 4.96
Sand (survey)
#E2CA76
ΔE00 5.17
Greenish Tan
#BCCB7A
ΔE00 6.37
Sandy
#F1DA7A
ΔE00 7.32
Light Olive
#ACBF69
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCC46F #6F77CC
analogous
#CC966F #CCC46F #A6CC6F
triadic
#CCC46F #6FCCC4 #C46FCC
tetradic
#CCC46F #6FCC96 #6F77CC #CC6FA6
square
#CCC46F #6FCC96 #6F77CC #CC6FA6
split-complementary
#CCC46F #6FA6CC #966FCC
monochromatic
#8E8632 #BBB142 #CCC46F #DCD79C #ECE9C9
Accessibility & contrast
On white
1.80
#CCC46F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.69
#CCC46F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCC46F
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCC46F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCC46F | 1.00 | 1.80 | 11.69 | 11.69 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BF68
Deuteranopia (green-blind)
#D4C373
Tritanopia (blue-blind)
#D8BAB0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #ccc46f; /* rgb */ color: rgb(204, 196, 111); /* oklch */ color: oklch(80.9% 0.107 103.8);
Tailwind
colors: {
custom: {
50: '#ddd59a',
500: '#ccc46f',
950: '#000000',
},
}SCSS
$custom: #ccc46f; $custom-light: #ddd59a; $custom-dark: #000000;
JSON
{
"hex": "#ccc46f",
"rgb": {
"r": 204,
"g": 196,
"b": 111
},
"hsl": {
"h": 54.839,
"s": 47.692,
"l": 61.765
},
"oklch": {
"l": 0.80851,
"c": 0.10743,
"h": 103.8
},
"luminance": 0.53465
}Semantic roles & 50–950 ramp
primary
#CCC46F
secondary
#4A5195
accent
#37BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F