#FFECAF#FFECAF

#FFECAF is a very light, moderate yellow. Relative luminance 0.843; OKLCH L 94.4% C 0.080 H 92.8°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#FFECAF
RGBrgb(255, 236, 175)
HSLhsl(46, 100%, 84%)
HSVhsv(46, 31%, 100%)
CMYKcmyk(0%, 7.5%, 31.4%, 0%)
CIE-LABlab(93.60, -2.36, 31.97)
CIE-LCHlch(93.60, 32.06, 94.22°)
OKLaboklab(94.41% -0.004 0.0801)
OKLCHoklch(94.41% 0.08 92.8)
XYZxyz(78.9743, 84.3483, 52.6698)
Luminance0.8435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFECAF #AFC2FF
analogous
#FFC4AF #FFECAF #EAFFAF
triadic
#FFECAF #AFFFEC #ECAFFF
tetradic
#FFECAF #AFFFC4 #AFC2FF #FFAFEA
square
#FFECAF #AFFFC4 #AFC2FF #FFAFEA
split-complementary
#FFECAF #AFEAFF #C4AFFF
monochromatic
#FFCF35 #FFDD72 #FFECAF #FFF8E0 #FFF8E0

Accessibility & contrast

On white

1.18
#FFECAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#FFECAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFECAF
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFECAF#FFFFFF#000000##000000
##FFECAF1.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E9AB
Deuteranopia (green-blind)
#FEEFB1
Tritanopia (blue-blind)
#FFE3DC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffecaf;
/* rgb */ color: rgb(255, 236, 175);
/* oklch */ color: oklch(94.4% 0.080 92.8);
Tailwind
colors: {
  custom: {
    50: '#fff2c7',
    500: '#ffecaf',
    950: '#000000',
  },
}
SCSS
$custom: #ffecaf;
$custom-light: #fff2c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffecaf",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 175
  },
  "hsl": {
    "h": 45.75,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.94407,
    "c": 0.08023,
    "h": 92.8
  },
  "luminance": 0.84346
}

Semantic roles & 50–950 ramp

primary
#FFECAF
secondary
#6D8AE5
accent
#37E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181613
muted
#868582

Preview Lab

Preview with #FFECAF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FFECAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva