#F2EED7#F2EED7

#F2EED7 is a very light, muted yellow. Relative luminance 0.849; OKLCH L 94.6% C 0.031 H 98.9°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#F2EED7
RGBrgb(242, 238, 215)
HSLhsl(51, 51%, 90%)
HSVhsv(51, 11%, 95%)
CMYKcmyk(0%, 1.7%, 11.2%, 5.1%)
CIE-LABlab(93.85, -2.50, 11.62)
CIE-LCHlch(93.85, 11.88, 102.12°)
OKLaboklab(94.61% -0.0047 0.0303)
OKLCHoklch(94.61% 0.031 98.9)
XYZxyz(79.4569, 84.9333, 76.4847)
Luminance0.8493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EED7 #D7DBF2
analogous
#F2E1D7 #F2EED7 #E9F2D7
triadic
#F2EED7 #D7F2EE #EED7F2
tetradic
#F2EED7 #D7F2E1 #D7DBF2 #F2D7E9
square
#F2EED7 #D7F2E1 #D7DBF2 #F2D7E9
split-complementary
#F2EED7 #D7E9F2 #E1D7F2
monochromatic
#D4C77B #E3DAA9 #F2EED7 #F7F5E8 #F7F5E8

Accessibility & contrast

On white

1.17
#F2EED7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.99
#F2EED7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EED7
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EED7#FFFFFF#000000##000000
##F2EED71.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3ECD6
Deuteranopia (green-blind)
#F4EED8
Tritanopia (blue-blind)
#F7EAE7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2eed7;
/* rgb */ color: rgb(242, 238, 215);
/* oklch */ color: oklch(94.6% 0.031 98.9);
Tailwind
colors: {
  custom: {
    50: '#f6f3e3',
    500: '#f2eed7',
    950: '#000000',
  },
}
SCSS
$custom: #f2eed7;
$custom-light: #f6f3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eed7",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 215
  },
  "hsl": {
    "h": 51.111,
    "s": 50.943,
    "l": 89.608
  },
  "oklch": {
    "l": 0.94614,
    "c": 0.03062,
    "h": 98.9
  },
  "luminance": 0.84933
}

Semantic roles & 50–950 ramp

primary
#F2EED7
secondary
#9DA4D0
accent
#3EBE27
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171715
muted
#858584

Preview Lab

Preview with #F2EED7

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

Preview Lab → · Contrast checker → · Palette generator →

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