#CCC645#CCC645
#CCC645 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.8% C 0.147 H 106.7°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CCC645 |
|---|---|
| RGB | rgb(204, 198, 69) |
| HSL | hsl(57, 57%, 54%) |
| HSV | hsv(57, 66%, 80%) |
| CMYK | cmyk(0%, 2.9%, 66.2%, 20%) |
| CIE-LAB | lab(78.26, -13.25, 62.66) |
| CIE-LCH | lch(78.26, 64.04, 101.94°) |
| OKLab | oklab(80.8% -0.0422 0.1409) |
| OKLCH | oklch(80.8% 0.147 106.7) |
| XYZ | xyz(46.1718, 53.6568, 13.5537) |
| Luminance | 0.5365 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 3.56
Dirty Yellow
#CDC50A
ΔE00 3.70
Puke Yellow
#C2BE0E
ΔE00 3.73
Ugly Yellow
#D0C101
ΔE00 4.54
Olive Yellow
#C2B709
ΔE00 4.92
Baby Puke Green
#B6C406
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCC645 #454BCC
analogous
#CC8245 #CCC645 #8ECC45
triadic
#CCC645 #45CCC6 #C645CC
tetradic
#CCC645 #45CC82 #454BCC #CC458E
square
#CCC645 #45CC82 #454BCC #CC458E
split-complementary
#CCC645 #458ECC #8245CC
monochromatic
#767220 #A6A12E #CCC645 #D9D575 #E6E3A5
Accessibility & contrast
On white
1.79
#CCC645 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#CCC645 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCC645
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCC645 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCC645 | 1.00 | 1.79 | 11.73 | 11.73 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BF33
Deuteranopia (green-blind)
#D9C44D
Tritanopia (blue-blind)
#DAB9AC
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #ccc645; /* rgb */ color: rgb(204, 198, 69); /* oklch */ color: oklch(80.8% 0.147 106.7);
Tailwind
colors: {
custom: {
50: '#dfd780',
500: '#ccc645',
950: '#000000',
},
}SCSS
$custom: #ccc645; $custom-light: #dfd780; $custom-dark: #000000;
JSON
{
"hex": "#ccc645",
"rgb": {
"r": 204,
"g": 198,
"b": 69
},
"hsl": {
"h": 57.333,
"s": 56.962,
"l": 53.529
},
"oklch": {
"l": 0.80804,
"c": 0.14705,
"h": 106.7
},
"luminance": 0.53655
}Semantic roles & 50–950 ramp
primary
#CCC645
secondary
#363A7F
accent
#4EE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E