#FFECA1#FFECA1

#FFECA1 is a very light, moderate yellow. Relative luminance 0.838; OKLCH L 94.2% C 0.096 H 95.6°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#FFECA1
RGBrgb(255, 236, 161)
HSLhsl(48, 100%, 82%)
HSVhsv(48, 37%, 100%)
CMYKcmyk(0%, 7.5%, 36.9%, 0%)
CIE-LABlab(93.38, -3.99, 38.72)
CIE-LCHlch(93.38, 38.93, 95.88°)
OKLaboklab(94.15% -0.0094 0.0956)
OKLCHoklch(94.15% 0.096 95.6)
XYZxyz(77.6699, 83.8265, 45.8001)
Luminance0.8382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFECA1 #A1B4FF
analogous
#FFBDA1 #FFECA1 #E3FFA1
triadic
#FFECA1 #A1FFEC #ECA1FF
tetradic
#FFECA1 #A1FFBD #A1B4FF #FFA1E3
square
#FFECA1 #A1FFBD #A1B4FF #FFA1E3
split-complementary
#FFECA1 #A1E3FF #BDA1FF
monochromatic
#FFD327 #FFE064 #FFECA1 #FFF8DE #FFF9E0

Accessibility & contrast

On white

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

On black

17.76
#FFECA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFECA1
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFECA1#FFFFFF#000000##000000
##FFECA11.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffeca1;
/* rgb */ color: rgb(255, 236, 161);
/* oklch */ color: oklch(94.2% 0.096 95.6);
Tailwind
colors: {
  custom: {
    50: '#fff2bd',
    500: '#ffeca1',
    950: '#000000',
  },
}
SCSS
$custom: #ffeca1;
$custom-light: #fff2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeca1",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 161
  },
  "hsl": {
    "h": 47.872,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.94154,
    "c": 0.09608,
    "h": 95.6
  },
  "luminance": 0.83824
}

Semantic roles & 50–950 ramp

primary
#FFECA1
secondary
#617BE3
accent
#2EE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181612
muted
#868582

Preview Lab

Preview with #FFECA1

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

Preview Lab → · Contrast checker → · Palette generator →

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