#FFECB3#FFECB3

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

Color values

HEX#FFECB3
RGBrgb(255, 236, 179)
HSLhsl(45, 100%, 85%)
HSVhsv(45, 30%, 100%)
CMYKcmyk(0%, 7.5%, 29.8%, 0%)
CIE-LABlab(93.67, -1.87, 30.03)
CIE-LCHlch(93.67, 30.09, 93.56°)
OKLaboklab(94.48% -0.0024 0.0756)
OKLCHoklch(94.48% 0.076 91.8)
XYZxyz(79.3730, 84.5077, 54.7696)
Luminance0.8451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFECB3 #B3C6FF
analogous
#FFC6B3 #FFECB3 #ECFFB3
triadic
#FFECB3 #B3FFEC #ECB3FF
tetradic
#FFECB3 #B3FFC6 #B3C6FF #FFB3EC
square
#FFECB3 #B3FFC6 #B3C6FF #FFB3EC
split-complementary
#FFECB3 #B3ECFF #C6B3FF
monochromatic
#FFCD39 #FFDD76 #FFECB3 #FFF7E0 #FFF7E0

Accessibility & contrast

On white

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

On black

17.90
#FFECB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFECB3
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFECB3#FFFFFF#000000##000000
##FFECB31.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffecb3;
/* rgb */ color: rgb(255, 236, 179);
/* oklch */ color: oklch(94.5% 0.076 91.8);
Tailwind
colors: {
  custom: {
    50: '#fff2ca',
    500: '#ffecb3',
    950: '#000000',
  },
}
SCSS
$custom: #ffecb3;
$custom-light: #fff2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ffecb3",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 179
  },
  "hsl": {
    "h": 45,
    "s": 100,
    "l": 85.098
  },
  "oklch": {
    "l": 0.94484,
    "c": 0.07562,
    "h": 91.8
  },
  "luminance": 0.84506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFECB3

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

Preview Lab → · Contrast checker → · Palette generator →

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