#E2D746#E2D746
#E2D746 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.3% C 0.160 H 105.0°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D746 |
|---|---|
| RGB | rgb(226, 215, 70) |
| HSL | hsl(56, 73%, 58%) |
| HSV | hsv(56, 69%, 89%) |
| CMYK | cmyk(0%, 4.9%, 69%, 11.4%) |
| CIE-LAB | lab(84.59, -12.51, 69.26) |
| CIE-LCH | lch(84.59, 70.38, 100.24°) |
| OKLab | oklab(86.29% -0.0412 0.1543) |
| OKLCH | oklch(86.29% 0.16 105) |
| XYZ | xyz(56.7722, 65.2140, 15.3902) |
| Luminance | 0.6521 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.71
Piss Yellow
#DDD618
ΔE00 2.81
Dirty Yellow
#CDC50A
ΔE00 5.01
Yellowish
#FAEE66
ΔE00 5.26
Sand Yellow
#FCE166
ΔE00 5.48
Ugly Yellow
#D0C101
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D746 #4651E2
analogous
#E28946 #E2D746 #9FE246
triadic
#E2D746 #46E2D7 #D746E2
tetradic
#E2D746 #46E289 #4651E2 #E2469F
square
#E2D746 #46E289 #4651E2 #E2469F
split-complementary
#E2D746 #469FE2 #8946E2
monochromatic
#968D18 #CBBF20 #E2D746 #EAE27B #F3EEB0
Accessibility & contrast
On white
1.50
#E2D746 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.04
#E2D746 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D746
14.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D746 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D746 | 1.00 | 1.50 | 14.04 | 14.04 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D02F
Deuteranopia (green-blind)
#EDD650
Tritanopia (blue-blind)
#F2C9BA
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e2d746; /* rgb */ color: rgb(226, 215, 70); /* oklch */ color: oklch(86.3% 0.160 105.0);
Tailwind
colors: {
custom: {
50: '#efe382',
500: '#e2d746',
950: '#000000',
},
}SCSS
$custom: #e2d746; $custom-light: #efe382; $custom-dark: #000000;
JSON
{
"hex": "#e2d746",
"rgb": {
"r": 226,
"g": 215,
"b": 70
},
"hsl": {
"h": 55.769,
"s": 72.897,
"l": 58.039
},
"oklch": {
"l": 0.8629,
"c": 0.15971,
"h": 105
},
"luminance": 0.65212
}Semantic roles & 50–950 ramp
primary
#E2D746
secondary
#32399A
accent
#45F038
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E