#FFECA8#FFECA8

#FFECA8 is a very light, moderate yellow. Relative luminance 0.841; OKLCH L 94.3% C 0.088 H 94.4°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#FFECA8
RGBrgb(255, 236, 168)
HSLhsl(47, 100%, 83%)
HSVhsv(47, 34%, 100%)
CMYKcmyk(0%, 7.5%, 34.1%, 0%)
CIE-LABlab(93.49, -3.19, 35.35)
CIE-LCHlch(93.49, 35.50, 95.16°)
OKLaboklab(94.28% -0.0067 0.088)
OKLCHoklch(94.28% 0.088 94.4)
XYZxyz(78.3045, 84.0804, 49.1425)
Luminance0.8408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFECA8 #A8BBFF
analogous
#FFC1A8 #FFECA8 #E6FFA8
triadic
#FFECA8 #A8FFEC #ECA8FF
tetradic
#FFECA8 #A8FFC1 #A8BBFF #FFA8E6
square
#FFECA8 #A8FFC1 #A8BBFF #FFA8E6
split-complementary
#FFECA8 #A8E6FF #C1A8FF
monochromatic
#FFD12E #FFDF6B #FFECA8 #FFF8E0 #FFF8E0

Accessibility & contrast

On white

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

On black

17.82
#FFECA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFECA8
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFECA8#FFFFFF#000000##000000
##FFECA81.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffeca8;
/* rgb */ color: rgb(255, 236, 168);
/* oklch */ color: oklch(94.3% 0.088 94.4);
Tailwind
colors: {
  custom: {
    50: '#fff2c2',
    500: '#ffeca8',
    950: '#000000',
  },
}
SCSS
$custom: #ffeca8;
$custom-light: #fff2c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeca8",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 168
  },
  "hsl": {
    "h": 46.897,
    "s": 100,
    "l": 82.941
  },
  "oklch": {
    "l": 0.94277,
    "c": 0.08823,
    "h": 94.4
  },
  "luminance": 0.84078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFECA8

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

Preview Lab → · Contrast checker → · Palette generator →

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