#FFECA4#FFECA4

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

Color values

HEX#FFECA4
RGBrgb(255, 236, 164)
HSLhsl(47, 100%, 82%)
HSVhsv(47, 36%, 100%)
CMYKcmyk(0%, 7.5%, 35.7%, 0%)
CIE-LABlab(93.42, -3.65, 37.28)
CIE-LCHlch(93.42, 37.46, 95.59°)
OKLaboklab(94.21% -0.0083 0.0924)
OKLCHoklch(94.21% 0.093 95.1)
XYZxyz(77.9376, 83.9336, 47.2101)
Luminance0.8393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFECA4 #A4B7FF
analogous
#FFBFA4 #FFECA4 #E4FFA4
triadic
#FFECA4 #A4FFEC #ECA4FF
tetradic
#FFECA4 #A4FFBF #A4B7FF #FFA4E4
square
#FFECA4 #A4FFBF #A4B7FF #FFA4E4
split-complementary
#FFECA4 #A4E4FF #BFA4FF
monochromatic
#FFD22A #FFDF67 #FFECA4 #FFF9E0 #FFF9E0

Accessibility & contrast

On white

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

On black

17.79
#FFECA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFECA4
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFECA4#FFFFFF#000000##000000
##FFECA41.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE89F
Deuteranopia (green-blind)
#FFEFA7
Tritanopia (blue-blind)
#FFE2D9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffeca4;
/* rgb */ color: rgb(255, 236, 164);
/* oklch */ color: oklch(94.2% 0.093 95.1);
Tailwind
colors: {
  custom: {
    50: '#fff2bf',
    500: '#ffeca4',
    950: '#000000',
  },
}
SCSS
$custom: #ffeca4;
$custom-light: #fff2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeca4",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 164
  },
  "hsl": {
    "h": 47.473,
    "s": 100,
    "l": 82.157
  },
  "oklch": {
    "l": 0.94206,
    "c": 0.09273,
    "h": 95.1
  },
  "luminance": 0.83931
}

Semantic roles & 50–950 ramp

primary
#FFECA4
secondary
#647EE4
accent
#30E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181612
muted
#868582

Preview Lab

Preview with #FFECA4

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

Preview Lab → · Contrast checker → · Palette generator →

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