#FFECAD#FFECAD
#FFECAD is a very light, moderate yellow. Relative luminance 0.843; OKLCH L 94.4% C 0.083 H 93.3°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).
Color values
| HEX | #FFECAD |
|---|---|
| RGB | rgb(255, 236, 173) |
| HSL | hsl(46, 100%, 84%) |
| HSV | hsv(46, 32%, 100%) |
| CMYK | cmyk(0%, 7.5%, 32.2%, 0%) |
| CIE-LAB | lab(93.57, -2.60, 32.94) |
| CIE-LCH | lch(93.57, 33.04, 94.52°) |
| OKLab | oklab(94.37% -0.0047 0.0824) |
| OKLCH | oklch(94.37% 0.083 93.3) |
| XYZ | xyz(78.7793, 84.2703, 51.6430) |
| Luminance | 0.8427 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Tan
#FBEEAC
ΔE00 1.98
Vanilla
#F3E5AB
ΔE00 2.36
Pale Peach
#FFE5AD
ΔE00 3.15
Palegoldenrod
#EEE8AA
ΔE00 4.14
Beige (survey)
#E6DAA6
ΔE00 5.03
Moccasin
#FFE4B5
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFECAD #ADC0FF
analogous
#FFC3AD #FFECAD #E9FFAD
triadic
#FFECAD #ADFFEC #ECADFF
tetradic
#FFECAD #ADFFC3 #ADC0FF #FFADE9
square
#FFECAD #ADFFC3 #ADC0FF #FFADE9
split-complementary
#FFECAD #ADE9FF #C3ADFF
monochromatic
#FFD033 #FFDE70 #FFECAD #FFF8E0 #FFF8E0
Accessibility & contrast
On white
1.18
#FFECAD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.85
#FFECAD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFECAD
17.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFECAD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFECAD | 1.00 | 1.18 | 17.85 | 17.85 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9E9A9
Deuteranopia (green-blind)
#FEEFAF
Tritanopia (blue-blind)
#FFE2DB
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #ffecad; /* rgb */ color: rgb(255, 236, 173); /* oklch */ color: oklch(94.4% 0.083 93.3);
Tailwind
colors: {
custom: {
50: '#fff2c6',
500: '#ffecad',
950: '#000000',
},
}SCSS
$custom: #ffecad; $custom-light: #fff2c6; $custom-dark: #000000;
JSON
{
"hex": "#ffecad",
"rgb": {
"r": 255,
"g": 236,
"b": 173
},
"hsl": {
"h": 46.098,
"s": 100,
"l": 83.922
},
"oklch": {
"l": 0.94369,
"c": 0.08253,
"h": 93.3
},
"luminance": 0.84268
}Semantic roles & 50–950 ramp
primary
#FFECAD
secondary
#6B87E5
accent
#35E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181613
muted
#868582