#CCC396#CCC396
#CCC396 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.3% C 0.061 H 98.1°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CCC396 |
|---|---|
| RGB | rgb(204, 195, 150) |
| HSL | hsl(50, 35%, 69%) |
| HSV | hsv(50, 26%, 80%) |
| CMYK | cmyk(0%, 4.4%, 26.5%, 20%) |
| CIE-LAB | lab(78.50, -3.92, 23.81) |
| CIE-LCH | lch(78.50, 24.13, 99.36°) |
| OKLab | oklab(81.33% -0.0085 0.0602) |
| OKLCH | oklch(81.33% 0.061 98.1) |
| XYZ | xyz(49.9222, 54.0706, 36.6551) |
| Luminance | 0.5407 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 5.00
Beige (survey)
#E6DAA6
ΔE00 5.85
Putty
#BEAE8A
ΔE00 6.54
Very Light Brown
#D3B683
ΔE00 7.27
Darkkhaki
#BDB76B
ΔE00 7.69
Khaki
#C3B091
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCC396 #969FCC
analogous
#CCA896 #CCC396 #BACC96
triadic
#CCC396 #96CCC3 #C396CC
tetradic
#CCC396 #96CCA8 #969FCC #CC96BA
square
#CCC396 #96CCA8 #969FCC #CC96BA
split-complementary
#CCC396 #96BACC #A896CC
monochromatic
#9C8F4C #B8AB6D #CCC396 #E0DBBF #F4F2E8
Accessibility & contrast
On white
1.78
#CCC396 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.81
#CCC396 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCC396
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCC396 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCC396 | 1.00 | 1.78 | 11.81 | 11.81 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCC093
Deuteranopia (green-blind)
#CFC498
Tritanopia (blue-blind)
#D4BCB7
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #ccc396; /* rgb */ color: rgb(204, 195, 150); /* oklch */ color: oklch(81.3% 0.061 98.1);
Tailwind
colors: {
custom: {
50: '#dcd5b5',
500: '#ccc396',
950: '#000000',
},
}SCSS
$custom: #ccc396; $custom-light: #dcd5b5; $custom-dark: #000000;
JSON
{
"hex": "#ccc396",
"rgb": {
"r": 204,
"g": 195,
"b": 150
},
"hsl": {
"h": 50,
"s": 34.615,
"l": 69.412
},
"oklch": {
"l": 0.81332,
"c": 0.06082,
"h": 98.1
},
"luminance": 0.5407
}Semantic roles & 50–950 ramp
primary
#CCC396
secondary
#656FA1
accent
#4CAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381