#FFECB2#FFECB2

#FFECB2 is a very light, moderate yellow. Relative luminance 0.845; OKLCH L 94.5% C 0.077 H 92.1°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#FFECB2
RGBrgb(255, 236, 178)
HSLhsl(45, 100%, 85%)
HSVhsv(45, 30%, 100%)
CMYKcmyk(0%, 7.5%, 30.2%, 0%)
CIE-LABlab(93.65, -1.99, 30.51)
CIE-LCHlch(93.65, 30.58, 93.74°)
OKLaboklab(94.46% -0.0028 0.0767)
OKLCHoklch(94.46% 0.077 92.1)
XYZxyz(79.2722, 84.4674, 54.2389)
Luminance0.8447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFECB2 #B2C5FF
analogous
#FFC6B2 #FFECB2 #EBFFB2
triadic
#FFECB2 #B2FFEC #ECB2FF
tetradic
#FFECB2 #B2FFC6 #B2C5FF #FFB2EB
square
#FFECB2 #B2FFC6 #B2C5FF #FFB2EB
split-complementary
#FFECB2 #B2EBFF #C6B2FF
monochromatic
#FFCE38 #FFDD75 #FFECB2 #FFF7E0 #FFF7E0

Accessibility & contrast

On white

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

On black

17.89
#FFECB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFECB2
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFECB2#FFFFFF#000000##000000
##FFECB21.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E9AE
Deuteranopia (green-blind)
#FEEFB4
Tritanopia (blue-blind)
#FFE3DD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffecb2;
/* rgb */ color: rgb(255, 236, 178);
/* oklch */ color: oklch(94.5% 0.077 92.1);
Tailwind
colors: {
  custom: {
    50: '#fff2c9',
    500: '#ffecb2',
    950: '#000000',
  },
}
SCSS
$custom: #ffecb2;
$custom-light: #fff2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ffecb2",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 178
  },
  "hsl": {
    "h": 45.195,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.94464,
    "c": 0.07677,
    "h": 92.1
  },
  "luminance": 0.84465
}

Semantic roles & 50–950 ramp

primary
#FFECB2
secondary
#708DE6
accent
#39E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181613
muted
#868582

Preview Lab

Preview with #FFECB2

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

Preview Lab → · Contrast checker → · Palette generator →

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