#FFECA5#FFECA5

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

Color values

HEX#FFECA5
RGBrgb(255, 236, 165)
HSLhsl(47, 100%, 82%)
HSVhsv(47, 35%, 100%)
CMYKcmyk(0%, 7.5%, 35.3%, 0%)
CIE-LABlab(93.44, -3.54, 36.80)
CIE-LCHlch(93.44, 36.97, 95.49°)
OKLaboklab(94.22% -0.0079 0.0913)
OKLCHoklch(94.22% 0.092 94.9)
XYZxyz(78.0283, 83.9699, 47.6875)
Luminance0.8397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFECA5 #A5B8FF
analogous
#FFBFA5 #FFECA5 #E5FFA5
triadic
#FFECA5 #A5FFEC #ECA5FF
tetradic
#FFECA5 #A5FFBF #A5B8FF #FFA5E5
square
#FFECA5 #A5FFBF #A5B8FF #FFA5E5
split-complementary
#FFECA5 #A5E5FF #BFA5FF
monochromatic
#FFD22B #FFDF68 #FFECA5 #FFF9E0 #FFF9E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFECA5#FFFFFF#000000##000000
##FFECA51.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)
#FAE9A0
Deuteranopia (green-blind)
#FFEFA7
Tritanopia (blue-blind)
#FFE2DA
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffeca5;
/* rgb */ color: rgb(255, 236, 165);
/* oklch */ color: oklch(94.2% 0.092 94.9);
Tailwind
colors: {
  custom: {
    50: '#fff2c0',
    500: '#ffeca5',
    950: '#000000',
  },
}
SCSS
$custom: #ffeca5;
$custom-light: #fff2c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeca5",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 165
  },
  "hsl": {
    "h": 47.333,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.94223,
    "c": 0.09161,
    "h": 94.9
  },
  "luminance": 0.83968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFECA5

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

Preview Lab → · Contrast checker → · Palette generator →

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