#FFECA2#FFECA2

#FFECA2 is a very light, moderate yellow. Relative luminance 0.839; OKLCH L 94.2% C 0.095 H 95.5°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#FFECA2
RGBrgb(255, 236, 162)
HSLhsl(48, 100%, 82%)
HSVhsv(48, 36%, 100%)
CMYKcmyk(0%, 7.5%, 36.5%, 0%)
CIE-LABlab(93.39, -3.88, 38.24)
CIE-LCHlch(93.39, 38.44, 95.79°)
OKLaboklab(94.17% -0.009 0.0945)
OKLCHoklch(94.17% 0.095 95.5)
XYZxyz(77.7584, 83.8619, 46.2663)
Luminance0.8386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFECA2 #A2B5FF
analogous
#FFBEA2 #FFECA2 #E4FFA2
triadic
#FFECA2 #A2FFEC #ECA2FF
tetradic
#FFECA2 #A2FFBE #A2B5FF #FFA2E4
square
#FFECA2 #A2FFBE #A2B5FF #FFA2E4
split-complementary
#FFECA2 #A2E4FF #BEA2FF
monochromatic
#FFD328 #FFDF65 #FFECA2 #FFF9DF #FFF9E0

Accessibility & contrast

On white

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

On black

17.77
#FFECA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFECA2
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFECA2#FFFFFF#000000##000000
##FFECA21.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE89D
Deuteranopia (green-blind)
#FFEFA5
Tritanopia (blue-blind)
#FFE1D9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffeca2;
/* rgb */ color: rgb(255, 236, 162);
/* oklch */ color: oklch(94.2% 0.095 95.5);
Tailwind
colors: {
  custom: {
    50: '#fff2be',
    500: '#ffeca2',
    950: '#000000',
  },
}
SCSS
$custom: #ffeca2;
$custom-light: #fff2be;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeca2",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 162
  },
  "hsl": {
    "h": 47.742,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.94171,
    "c": 0.09497,
    "h": 95.5
  },
  "luminance": 0.8386
}

Semantic roles & 50–950 ramp

primary
#FFECA2
secondary
#627CE3
accent
#2FE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181612
muted
#868582

Preview Lab

Preview with #FFECA2

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

Preview Lab → · Contrast checker → · Palette generator →

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