#F2EACC#F2EACC

#F2EACC is a very light, muted yellow. Relative luminance 0.821; OKLCH L 93.6% C 0.040 H 94.7°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#F2EACC
RGBrgb(242, 234, 204)
HSLhsl(47, 59%, 87%)
HSVhsv(47, 16%, 95%)
CMYKcmyk(0%, 3.3%, 15.7%, 5.1%)
CIE-LABlab(92.61, -2.17, 15.55)
CIE-LCHlch(92.61, 15.70, 97.94°)
OKLaboklab(93.56% -0.0033 0.0402)
OKLCHoklch(93.56% 0.04 94.7)
XYZxyz(76.9391, 82.0835, 68.9056)
Luminance0.8208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EACC #CCD4F2
analogous
#F2D7CC #F2EACC #E7F2CC
triadic
#F2EACC #CCF2EA #EACCF2
tetradic
#F2EACC #CCF2D7 #CCD4F2 #F2CCE7
square
#F2EACC #CCF2D7 #CCD4F2 #F2CCE7
split-complementary
#F2EACC #CCE7F2 #D7CCF2
monochromatic
#D9C26A #E6D69B #F2EACC #F9F5E7 #F9F5E7

Accessibility & contrast

On white

1.21
#F2EACC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.42
#F2EACC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EACC
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EACC#FFFFFF#000000##000000
##F2EACC1.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1E8CA
Deuteranopia (green-blind)
#F3EBCD
Tritanopia (blue-blind)
#F9E5E1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2eacc;
/* rgb */ color: rgb(242, 234, 204);
/* oklch */ color: oklch(93.6% 0.040 94.7);
Tailwind
colors: {
  custom: {
    50: '#f6f0db',
    500: '#f2eacc',
    950: '#000000',
  },
}
SCSS
$custom: #f2eacc;
$custom-light: #f6f0db;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eacc",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 204
  },
  "hsl": {
    "h": 47.368,
    "s": 59.375,
    "l": 87.451
  },
  "oklch": {
    "l": 0.93556,
    "c": 0.04037,
    "h": 94.7
  },
  "luminance": 0.82083
}

Semantic roles & 50–950 ramp

primary
#F2EACC
secondary
#919ED1
accent
#42C71E
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171615
muted
#858584

Preview Lab

Preview with #F2EACC

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

Preview Lab → · Contrast checker → · Palette generator →

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