#E6D74C#E6D74C
#E6D74C is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.7% C 0.155 H 103.1°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #E6D74C |
|---|---|
| RGB | rgb(230, 215, 76) |
| HSL | hsl(54, 75%, 60%) |
| HSV | hsv(54, 67%, 90%) |
| CMYK | cmyk(0%, 6.5%, 67%, 9.8%) |
| CIE-LAB | lab(84.97, -10.53, 67.46) |
| CIE-LCH | lch(84.97, 68.28, 98.87°) |
| OKLab | oklab(86.68% -0.0352 0.1514) |
| OKLCH | oklch(86.68% 0.155 103.1) |
| XYZ | xyz(58.2405, 65.9480, 16.4975) |
| Luminance | 0.6595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.80
Piss Yellow
#DDD618
ΔE00 3.63
Sand Yellow
#FCE166
ΔE00 4.48
Yellowish
#FAEE66
ΔE00 5.08
Light Gold
#FDDC5C
ΔE00 5.15
Banana
#FFE135
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E6D74C #4C5BE6
analogous
#E68A4C #E6D74C #A8E64C
triadic
#E6D74C #4CE6D7 #D74CE6
tetradic
#E6D74C #4CE68A #4C5BE6 #E64CA8
square
#E6D74C #4CE68A #4C5BE6 #E64CA8
split-complementary
#E6D74C #4CA8E6 #8A4CE6
monochromatic
#A19417 #D7C51E #E6D74C #EDE382 #F5EFB7
Accessibility & contrast
On white
1.48
#E6D74C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.19
#E6D74C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E6D74C
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E6D74C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E6D74C | 1.00 | 1.48 | 14.19 | 14.19 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD039
Deuteranopia (green-blind)
#EED755
Tritanopia (blue-blind)
#F7C9BB
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e6d74c; /* rgb */ color: rgb(230, 215, 76); /* oklch */ color: oklch(86.7% 0.155 103.1);
Tailwind
colors: {
custom: {
50: '#f1e385',
500: '#e6d74c',
950: '#000000',
},
}SCSS
$custom: #e6d74c; $custom-light: #f1e385; $custom-dark: #000000;
JSON
{
"hex": "#e6d74c",
"rgb": {
"r": 230,
"g": 215,
"b": 76
},
"hsl": {
"h": 54.156,
"s": 75.49,
"l": 60
},
"oklch": {
"l": 0.86682,
"c": 0.15542,
"h": 103.1
},
"luminance": 0.65946
}Semantic roles & 50–950 ramp
primary
#E6D74C
secondary
#333EA4
accent
#48F236
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#17150C
muted
#85847F