#F5ECC2#F5ECC2

#F5ECC2 is a very light, muted yellow. Relative luminance 0.833; OKLCH L 94.0% C 0.055 H 97.3°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#F5ECC2
RGBrgb(245, 236, 194)
HSLhsl(49, 72%, 86%)
HSVhsv(49, 21%, 96%)
CMYKcmyk(0%, 3.7%, 20.8%, 3.9%)
CIE-LABlab(93.15, -3.56, 21.50)
CIE-LCHlch(93.15, 21.79, 99.41°)
OKLaboklab(93.97% -0.007 0.055)
OKLCHoklch(93.97% 0.055 97.3)
XYZxyz(77.3890, 83.2997, 63.0301)
Luminance0.8330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ECC2 #C2CBF5
analogous
#F5D2C2 #F5ECC2 #E4F5C2
triadic
#F5ECC2 #C2F5EC #ECC2F5
tetradic
#F5ECC2 #C2F5D2 #C2CBF5 #F5C2E4
square
#F5ECC2 #C2F5D2 #C2CBF5 #F5C2E4
split-complementary
#F5ECC2 #C2E4F5 #D2C2F5
monochromatic
#E4CB59 #ECDC8D #F5ECC2 #FBF7E5 #FBF7E5

Accessibility & contrast

On white

1.19
#F5ECC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#F5ECC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ECC2
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ECC2#FFFFFF#000000##000000
##F5ECC21.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E9BF
Deuteranopia (green-blind)
#F7EDC3
Tritanopia (blue-blind)
#FDE6E0
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5ecc2;
/* rgb */ color: rgb(245, 236, 194);
/* oklch */ color: oklch(94.0% 0.055 97.3);
Tailwind
colors: {
  custom: {
    50: '#f8f2d4',
    500: '#f5ecc2',
    950: '#000000',
  },
}
SCSS
$custom: #f5ecc2;
$custom-light: #f8f2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ecc2",
  "rgb": {
    "r": 245,
    "g": 236,
    "b": 194
  },
  "hsl": {
    "h": 49.412,
    "s": 71.831,
    "l": 86.078
  },
  "oklch": {
    "l": 0.93967,
    "c": 0.05547,
    "h": 97.3
  },
  "luminance": 0.83298
}

Semantic roles & 50–950 ramp

primary
#F5ECC2
secondary
#8593D7
accent
#34D412
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #F5ECC2

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

Preview Lab → · Contrast checker → · Palette generator →

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