#F2ECD5#F2ECD5

#F2ECD5 is a very light, muted yellow. Relative luminance 0.837; OKLCH L 94.2% C 0.031 H 94.9°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#F2ECD5
RGBrgb(242, 236, 213)
HSLhsl(48, 53%, 89%)
HSVhsv(48, 12%, 95%)
CMYKcmyk(0%, 2.5%, 12%, 5.1%)
CIE-LABlab(93.31, -1.80, 11.87)
CIE-LCHlch(93.31, 12.01, 98.60°)
OKLaboklab(94.17% -0.0026 0.0309)
OKLCHoklch(94.17% 0.031 94.9)
XYZxyz(78.6225, 83.6730, 74.9465)
Luminance0.8367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECD5 #D5DBF2
analogous
#F2DED5 #F2ECD5 #EAF2D5
triadic
#F2ECD5 #D5F2EC #ECD5F2
tetradic
#F2ECD5 #D5F2DE #D5DBF2 #F2D5EA
square
#F2ECD5 #D5F2DE #D5DBF2 #F2D5EA
split-complementary
#F2ECD5 #D5EAF2 #DED5F2
monochromatic
#D5C278 #E4D7A6 #F2ECD5 #F8F4E8 #F8F4E8

Accessibility & contrast

On white

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

On black

17.73
#F2ECD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECD5
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECD5#FFFFFF#000000##000000
##F2ECD51.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1EBD4
Deuteranopia (green-blind)
#F3EDD6
Tritanopia (blue-blind)
#F7E8E5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2ecd5;
/* rgb */ color: rgb(242, 236, 213);
/* oklch */ color: oklch(94.2% 0.031 94.9);
Tailwind
colors: {
  custom: {
    50: '#f6f2e2',
    500: '#f2ecd5',
    950: '#000000',
  },
}
SCSS
$custom: #f2ecd5;
$custom-light: #f6f2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ecd5",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 213
  },
  "hsl": {
    "h": 47.586,
    "s": 52.727,
    "l": 89.216
  },
  "oklch": {
    "l": 0.94169,
    "c": 0.03102,
    "h": 94.9
  },
  "luminance": 0.83672
}

Semantic roles & 50–950 ramp

primary
#F2ECD5
secondary
#9BA6D1
accent
#45C025
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171615
muted
#858584

Preview Lab

Preview with #F2ECD5

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

Preview Lab → · Contrast checker → · Palette generator →

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