#FFECA7#FFECA7

#FFECA7 is a very light, moderate yellow. Relative luminance 0.840; OKLCH L 94.3% C 0.089 H 94.6°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#FFECA7
RGBrgb(255, 236, 167)
HSLhsl(47, 100%, 83%)
HSVhsv(47, 35%, 100%)
CMYKcmyk(0%, 7.5%, 34.5%, 0%)
CIE-LABlab(93.47, -3.31, 35.84)
CIE-LCHlch(93.47, 35.99, 95.28°)
OKLaboklab(94.26% -0.0071 0.0891)
OKLCHoklch(94.26% 0.089 94.6)
XYZxyz(78.2117, 84.0432, 48.6538)
Luminance0.8404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFECA7 #A7BAFF
analogous
#FFC0A7 #FFECA7 #E6FFA7
triadic
#FFECA7 #A7FFEC #ECA7FF
tetradic
#FFECA7 #A7FFC0 #A7BAFF #FFA7E6
square
#FFECA7 #A7FFC0 #A7BAFF #FFA7E6
split-complementary
#FFECA7 #A7E6FF #C0A7FF
monochromatic
#FFD22D #FFDF6A #FFECA7 #FFF8E0 #FFF8E0

Accessibility & contrast

On white

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

On black

17.81
#FFECA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFECA7
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFECA7#FFFFFF#000000##000000
##FFECA71.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffeca7;
/* rgb */ color: rgb(255, 236, 167);
/* oklch */ color: oklch(94.3% 0.089 94.6);
Tailwind
colors: {
  custom: {
    50: '#fff2c1',
    500: '#ffeca7',
    950: '#000000',
  },
}
SCSS
$custom: #ffeca7;
$custom-light: #fff2c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeca7",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 167
  },
  "hsl": {
    "h": 47.045,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.94259,
    "c": 0.08935,
    "h": 94.6
  },
  "luminance": 0.84041
}

Semantic roles & 50–950 ramp

primary
#FFECA7
secondary
#6681E4
accent
#32E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181612
muted
#868582

Preview Lab

Preview with #FFECA7

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

Preview Lab → · Contrast checker → · Palette generator →

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