#F2ECD8#F2ECD8

#F2ECD8 is a very light, muted yellow. Relative luminance 0.838; OKLCH L 94.2% C 0.027 H 93.1°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#F2ECD8
RGBrgb(242, 236, 216)
HSLhsl(46, 50%, 90%)
HSVhsv(46, 11%, 95%)
CMYKcmyk(0%, 2.5%, 10.7%, 5.1%)
CIE-LABlab(93.38, -1.32, 10.41)
CIE-LCHlch(93.38, 10.50, 97.23°)
OKLaboklab(94.24% -0.0015 0.0272)
OKLCHoklch(94.24% 0.027 93.1)
XYZxyz(79.0068, 83.8268, 76.9705)
Luminance0.8383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECD8 #D8DEF2
analogous
#F2DFD8 #F2ECD8 #EBF2D8
triadic
#F2ECD8 #D8F2EC #ECD8F2
tetradic
#F2ECD8 #D8F2DF #D8DEF2 #F2D8EB
square
#F2ECD8 #D8F2DF #D8DEF2 #F2D8EB
split-complementary
#F2ECD8 #D8EBF2 #DFD8F2
monochromatic
#D3BF7C #E3D6AA #F2ECD8 #F7F4E8 #F7F4E8

Accessibility & contrast

On white

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

On black

17.77
#F2ECD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECD8
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECD8#FFFFFF#000000##000000
##F2ECD81.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1EBD7
Deuteranopia (green-blind)
#F2EDD9
Tritanopia (blue-blind)
#F7E9E6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2ecd8;
/* rgb */ color: rgb(242, 236, 216);
/* oklch */ color: oklch(94.2% 0.027 93.1);
Tailwind
colors: {
  custom: {
    50: '#f6f2e4',
    500: '#f2ecd8',
    950: '#000000',
  },
}
SCSS
$custom: #f2ecd8;
$custom-light: #f6f2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ecd8",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 216
  },
  "hsl": {
    "h": 46.154,
    "s": 50,
    "l": 89.804
  },
  "oklch": {
    "l": 0.94244,
    "c": 0.02722,
    "h": 93.1
  },
  "luminance": 0.83826
}

Semantic roles & 50–950 ramp

primary
#F2ECD8
secondary
#9EAAD0
accent
#4BBD28
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171615
muted
#858584

Preview Lab

Preview with #F2ECD8

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

Preview Lab → · Contrast checker → · Palette generator →

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