#FFECB1#FFECB1

#FFECB1 is a very light, moderate yellow. Relative luminance 0.844; OKLCH L 94.4% C 0.078 H 92.3°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#FFECB1
RGBrgb(255, 236, 177)
HSLhsl(45, 100%, 85%)
HSVhsv(45, 31%, 100%)
CMYKcmyk(0%, 7.5%, 30.6%, 0%)
CIE-LABlab(93.64, -2.12, 31.00)
CIE-LCHlch(93.64, 31.07, 93.91°)
OKLaboklab(94.45% -0.0032 0.0779)
OKLCHoklch(94.45% 0.078 92.3)
XYZxyz(79.1722, 84.4274, 53.7120)
Luminance0.8442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFECB1 #B1C4FF
analogous
#FFC5B1 #FFECB1 #EBFFB1
triadic
#FFECB1 #B1FFEC #ECB1FF
tetradic
#FFECB1 #B1FFC5 #B1C4FF #FFB1EB
square
#FFECB1 #B1FFC5 #B1C4FF #FFB1EB
split-complementary
#FFECB1 #B1EBFF #C5B1FF
monochromatic
#FFCE37 #FFDD74 #FFECB1 #FFF8E0 #FFF8E0

Accessibility & contrast

On white

1.17
#FFECB1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.88
#FFECB1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFECB1
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFECB1#FFFFFF#000000##000000
##FFECB11.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E9AD
Deuteranopia (green-blind)
#FEEFB3
Tritanopia (blue-blind)
#FFE3DC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffecb1;
/* rgb */ color: rgb(255, 236, 177);
/* oklch */ color: oklch(94.4% 0.078 92.3);
Tailwind
colors: {
  custom: {
    50: '#fff2c8',
    500: '#ffecb1',
    950: '#000000',
  },
}
SCSS
$custom: #ffecb1;
$custom-light: #fff2c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ffecb1",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 177
  },
  "hsl": {
    "h": 45.385,
    "s": 100,
    "l": 84.706
  },
  "oklch": {
    "l": 0.94445,
    "c": 0.07792,
    "h": 92.3
  },
  "luminance": 0.84425
}

Semantic roles & 50–950 ramp

primary
#FFECB1
secondary
#6F8CE6
accent
#38E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181613
muted
#868582

Preview Lab

Preview with #FFECB1

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

Preview Lab → · Contrast checker → · Palette generator →

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