#e7e794
a light, vivid yellow · cool · closest name: khaki
RGB
231, 231, 148
HSL
60°, 63%, 74%
CMYK
0, 0, 36, 9
Luminance
0.7628
Every format
| HEX | #e7e794 |
| RGB | rgb(231, 231, 148) |
| HSL | hsl(60, 63%, 74%) |
| CMYK | cmyk(0%, 0%, 36%, 9%) |
| LAB | lab(90.0 -12.1 40.5) |
| LCH | lch(90.0 42.2 106.7) |
| OKLCH | oklch(0.909 0.105 108.3) |
Copy-ready code
/* CSS */
color: #e7e794;
background-color: #e7e794;
/* Tailwind (arbitrary) */
class="text-[#e7e794] bg-[#e7e794]"
/* SCSS */
$brand: #e7e794;
/* SwiftUI */
Color(red: 0.906, green: 0.906, blue: 0.580)
/* Android */
Color.parseColor("#e7e794")Accessibility — WCAG contrast
Aa
#e7e794 on white: 1.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#e7e794 on black: 16.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red90.6%
Green90.6%
Blue58.0%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow35.9%
Key (black)9.4%
Color previews
#e7e794 text on a black background
contrast 16.26:1
Card sample
#e7e794 text on a white background
contrast 1.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #e7e794;
Background color
Panel with #e7e794 background
background-color: #e7e794;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #e7e794;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(231, 231, 148, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(231, 231, 148, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e7e794; background: linear-gradient(135deg, #e7e794, #B0E794);