#F2ECCF#F2ECCF

#F2ECCF is a very light, muted yellow. Relative luminance 0.834; OKLCH L 94.0% C 0.039 H 97.4°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#F2ECCF
RGBrgb(242, 236, 207)
HSLhsl(50, 57%, 88%)
HSVhsv(50, 14%, 95%)
CMYKcmyk(0%, 2.5%, 14.5%, 5.1%)
CIE-LABlab(93.18, -2.73, 14.80)
CIE-LCHlch(93.18, 15.05, 100.44°)
OKLaboklab(94.02% -0.005 0.0383)
OKLCHoklch(94.02% 0.039 97.4)
XYZxyz(77.8750, 83.3740, 71.0097)
Luminance0.8337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECCF #CFD5F2
analogous
#F2DACF #F2ECCF #E6F2CF
triadic
#F2ECCF #CFF2EC #ECCFF2
tetradic
#F2ECCF #CFF2DA #CFD5F2 #F2CFE6
square
#F2ECCF #CFF2DA #CFD5F2 #F2CFE6
split-complementary
#F2ECCF #CFE6F2 #DACFF2
monochromatic
#D8C66F #E5D99F #F2ECCF #F8F5E7 #F8F5E7

Accessibility & contrast

On white

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

On black

17.67
#F2ECCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECCF
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECCF#FFFFFF#000000##000000
##F2ECCF1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2EACD
Deuteranopia (green-blind)
#F4ECD0
Tritanopia (blue-blind)
#F8E8E4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2eccf;
/* rgb */ color: rgb(242, 236, 207);
/* oklch */ color: oklch(94.0% 0.039 97.4);
Tailwind
colors: {
  custom: {
    50: '#f6f2dd',
    500: '#f2eccf',
    950: '#000000',
  },
}
SCSS
$custom: #f2eccf;
$custom-light: #f6f2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eccf",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 207
  },
  "hsl": {
    "h": 49.714,
    "s": 57.377,
    "l": 88.039
  },
  "oklch": {
    "l": 0.94024,
    "c": 0.03866,
    "h": 97.4
  },
  "luminance": 0.83373
}

Semantic roles & 50–950 ramp

primary
#F2ECCF
secondary
#949ED1
accent
#3DC521
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171615
muted
#858584

Preview Lab

Preview with #F2ECCF

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

Preview Lab → · Contrast checker → · Palette generator →

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