#cacf91
a light, soft yellow · cool · closest name: khaki
RGB
202, 207, 145
HSL
65°, 39%, 69%
CMYK
2, 0, 30, 19
Luminance
0.5923
Every format
| HEX | #cacf91 |
| RGB | rgb(202, 207, 145) |
| HSL | hsl(65, 39%, 69%) |
| CMYK | cmyk(2%, 0%, 30%, 19%) |
| LAB | lab(81.4 -11.5 30.3) |
| LCH | lch(81.4 32.4 110.8) |
| OKLCH | oklch(0.836 0.082 111.9) |
Copy-ready code
/* CSS */
color: #cacf91;
background-color: #cacf91;
/* Tailwind (arbitrary) */
class="text-[#cacf91] bg-[#cacf91]"
/* SCSS */
$brand: #cacf91;
/* SwiftUI */
Color(red: 0.792, green: 0.812, blue: 0.569)
/* Android */
Color.parseColor("#cacf91")Accessibility — WCAG contrast
Aa
#cacf91 on white: 1.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cacf91 on black: 12.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.2%
Green81.2%
Blue56.9%
CMYK percentages
Cyan2.4%
Magenta0.0%
Yellow30.0%
Key (black)18.8%
Color previews
#cacf91 text on a black background
contrast 12.85:1
Card sample
#cacf91 text on a white background
contrast 1.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cacf91;
Background color
Panel with #cacf91 background
background-color: #cacf91;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cacf91;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(202, 207, 145, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 207, 145, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cacf91; background: linear-gradient(135deg, #cacf91, #A1CF91);