#F2ECD7#F2ECD7

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

Color values

HEX#F2ECD7
RGBrgb(242, 236, 215)
HSLhsl(47, 51%, 90%)
HSVhsv(47, 11%, 95%)
CMYKcmyk(0%, 2.5%, 11.2%, 5.1%)
CIE-LABlab(93.35, -1.48, 10.90)
CIE-LCHlch(93.35, 11.00, 97.73°)
OKLaboklab(94.22% -0.0019 0.0284)
OKLCHoklch(94.22% 0.028 93.8)
XYZxyz(78.8779, 83.7752, 76.2917)
Luminance0.8377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECD7 #D7DDF2
analogous
#F2DFD7 #F2ECD7 #EBF2D7
triadic
#F2ECD7 #D7F2EC #ECD7F2
tetradic
#F2ECD7 #D7F2DF #D7DDF2 #F2D7EB
square
#F2ECD7 #D7F2DF #D7DDF2 #F2D7EB
split-complementary
#F2ECD7 #D7EBF2 #DFD7F2
monochromatic
#D4C07B #E3D6A9 #F2ECD7 #F7F4E8 #F7F4E8

Accessibility & contrast

On white

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

On black

17.75
#F2ECD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECD7
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECD7#FFFFFF#000000##000000
##F2ECD71.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ecd7;
/* rgb */ color: rgb(242, 236, 215);
/* oklch */ color: oklch(94.2% 0.028 93.8);
Tailwind
colors: {
  custom: {
    50: '#f6f2e3',
    500: '#f2ecd7',
    950: '#000000',
  },
}
SCSS
$custom: #f2ecd7;
$custom-light: #f6f2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ecd7",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 215
  },
  "hsl": {
    "h": 46.667,
    "s": 50.943,
    "l": 89.608
  },
  "oklch": {
    "l": 0.94219,
    "c": 0.02849,
    "h": 93.8
  },
  "luminance": 0.83774
}

Semantic roles & 50–950 ramp

primary
#F2ECD7
secondary
#9DA8D0
accent
#49BE27
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171615
muted
#858584

Preview Lab

Preview with #F2ECD7

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

Preview Lab → · Contrast checker → · Palette generator →

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