#F2ECD4#F2ECD4

#F2ECD4 is a very light, muted yellow. Relative luminance 0.836; OKLCH L 94.1% C 0.032 H 95.4°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#F2ECD4
RGBrgb(242, 236, 212)
HSLhsl(48, 54%, 89%)
HSVhsv(48, 12%, 95%)
CMYKcmyk(0%, 2.5%, 12.4%, 5.1%)
CIE-LABlab(93.29, -1.95, 12.36)
CIE-LCHlch(93.29, 12.52, 98.98°)
OKLaboklab(94.15% -0.003 0.0322)
OKLCHoklch(94.15% 0.032 95.4)
XYZxyz(78.4960, 83.6224, 74.2801)
Luminance0.8362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECD4 #D4DAF2
analogous
#F2DDD4 #F2ECD4 #E9F2D4
triadic
#F2ECD4 #D4F2EC #ECD4F2
tetradic
#F2ECD4 #D4F2DD #D4DAF2 #F2D4E9
square
#F2ECD4 #D4F2DD #D4DAF2 #F2D4E9
split-complementary
#F2ECD4 #D4E9F2 #DDD4F2
monochromatic
#D6C276 #E4D7A5 #F2ECD4 #F8F5E8 #F8F5E8

Accessibility & contrast

On white

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

On black

17.72
#F2ECD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECD4
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECD4#FFFFFF#000000##000000
##F2ECD41.001.1817.7217.72
#FFFFFF1.181.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1EAD3
Deuteranopia (green-blind)
#F3EDD5
Tritanopia (blue-blind)
#F7E8E5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2ecd4;
/* rgb */ color: rgb(242, 236, 212);
/* oklch */ color: oklch(94.1% 0.032 95.4);
Tailwind
colors: {
  custom: {
    50: '#f6f2e1',
    500: '#f2ecd4',
    950: '#000000',
  },
}
SCSS
$custom: #f2ecd4;
$custom-light: #f6f2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ecd4",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 212
  },
  "hsl": {
    "h": 48,
    "s": 53.571,
    "l": 89.02
  },
  "oklch": {
    "l": 0.94145,
    "c": 0.03229,
    "h": 95.4
  },
  "luminance": 0.83622
}

Semantic roles & 50–950 ramp

primary
#F2ECD4
secondary
#99A4D1
accent
#44C124
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171615
muted
#858584

Preview Lab

Preview with #F2ECD4

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

Preview Lab → · Contrast checker → · Palette generator →

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