#F2ECC2#F2ECC2

#F2ECC2 is a very light, muted yellow. Relative luminance 0.828; OKLCH L 93.7% C 0.055 H 100.6°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#F2ECC2
RGBrgb(242, 236, 194)
HSLhsl(53, 65%, 85%)
HSVhsv(53, 20%, 95%)
CMYKcmyk(0%, 2.5%, 19.8%, 5.1%)
CIE-LABlab(92.91, -4.65, 21.14)
CIE-LCHlch(92.91, 21.64, 102.41°)
OKLaboklab(93.73% -0.0102 0.0541)
OKLCHoklch(93.73% 0.055 100.6)
XYZxyz(76.3506, 82.7643, 62.9815)
Luminance0.8276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECC2 #C2C8F2
analogous
#F2D4C2 #F2ECC2 #E0F2C2
triadic
#F2ECC2 #C2F2EC #ECC2F2
tetradic
#F2ECC2 #C2F2D4 #C2C8F2 #F2C2E0
square
#F2ECC2 #C2F2D4 #C2C8F2 #F2C2E0
split-complementary
#F2ECC2 #C2E0F2 #D4C2F2
monochromatic
#DCCD5D #E7DC90 #F2ECC2 #FAF7E6 #FAF7E6

Accessibility & contrast

On white

1.20
#F2ECC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.55
#F2ECC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECC2
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECC2#FFFFFF#000000##000000
##F2ECC21.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E9BF
Deuteranopia (green-blind)
#F6ECC3
Tritanopia (blue-blind)
#FAE6E0
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2ecc2;
/* rgb */ color: rgb(242, 236, 194);
/* oklch */ color: oklch(93.7% 0.055 100.6);
Tailwind
colors: {
  custom: {
    50: '#f6f2d4',
    500: '#f2ecc2',
    950: '#000000',
  },
}
SCSS
$custom: #f2ecc2;
$custom-light: #f6f2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ecc2",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 194
  },
  "hsl": {
    "h": 52.5,
    "s": 64.865,
    "l": 85.49
  },
  "oklch": {
    "l": 0.93725,
    "c": 0.05507,
    "h": 100.6
  },
  "luminance": 0.82763
}

Semantic roles & 50–950 ramp

primary
#F2ECC2
secondary
#8690D2
accent
#2FCD19
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #F2ECC2

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

Preview Lab → · Contrast checker → · Palette generator →

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