#FFECA6#FFECA6

#FFECA6 is a very light, moderate yellow. Relative luminance 0.840; OKLCH L 94.2% C 0.090 H 94.7°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#FFECA6
RGBrgb(255, 236, 166)
HSLhsl(47, 100%, 83%)
HSVhsv(47, 35%, 100%)
CMYKcmyk(0%, 7.5%, 34.9%, 0%)
CIE-LABlab(93.45, -3.42, 36.32)
CIE-LCHlch(93.45, 36.48, 95.39°)
OKLaboklab(94.24% -0.0075 0.0902)
OKLCHoklch(94.24% 0.09 94.7)
XYZxyz(78.1196, 84.0064, 48.1688)
Luminance0.8400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFECA6 #A6B9FF
analogous
#FFBFA6 #FFECA6 #E5FFA6
triadic
#FFECA6 #A6FFEC #ECA6FF
tetradic
#FFECA6 #A6FFBF #A6B9FF #FFA6E5
square
#FFECA6 #A6FFBF #A6B9FF #FFA6E5
split-complementary
#FFECA6 #A6E5FF #BFA6FF
monochromatic
#FFD22C #FFDF69 #FFECA6 #FFF8E0 #FFF8E0

Accessibility & contrast

On white

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

On black

17.80
#FFECA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFECA6
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFECA6#FFFFFF#000000##000000
##FFECA61.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE9A1
Deuteranopia (green-blind)
#FFEFA8
Tritanopia (blue-blind)
#FFE2DA
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffeca6;
/* rgb */ color: rgb(255, 236, 166);
/* oklch */ color: oklch(94.2% 0.090 94.7);
Tailwind
colors: {
  custom: {
    50: '#fff2c1',
    500: '#ffeca6',
    950: '#000000',
  },
}
SCSS
$custom: #ffeca6;
$custom-light: #fff2c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeca6",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 166
  },
  "hsl": {
    "h": 47.191,
    "s": 100,
    "l": 82.549
  },
  "oklch": {
    "l": 0.94241,
    "c": 0.09048,
    "h": 94.7
  },
  "luminance": 0.84004
}

Semantic roles & 50–950 ramp

primary
#FFECA6
secondary
#6580E4
accent
#31E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181612
muted
#868582

Preview Lab

Preview with #FFECA6

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

Preview Lab → · Contrast checker → · Palette generator →

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