#F2EDD4#F2EDD4

#F2EDD4 is a very light, muted yellow. Relative luminance 0.842; OKLCH L 94.3% C 0.033 H 97.7°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#F2EDD4
RGBrgb(242, 237, 212)
HSLhsl(50, 54%, 89%)
HSVhsv(50, 12%, 95%)
CMYKcmyk(0%, 2.1%, 12.4%, 5.1%)
CIE-LABlab(93.54, -2.46, 12.72)
CIE-LCHlch(93.54, 12.95, 100.95°)
OKLaboklab(94.34% -0.0045 0.0331)
OKLCHoklch(94.34% 0.033 97.7)
XYZxyz(78.7847, 84.1999, 74.3764)
Luminance0.8420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDD4 #D4D9F2
analogous
#F2DED4 #F2EDD4 #E8F2D4
triadic
#F2EDD4 #D4F2ED #EDD4F2
tetradic
#F2EDD4 #D4F2DE #D4D9F2 #F2D4E8
square
#F2EDD4 #D4F2DE #D4D9F2 #F2D4E8
split-complementary
#F2EDD4 #D4E8F2 #DED4F2
monochromatic
#D6C676 #E4D9A5 #F2EDD4 #F8F5E8 #F8F5E8

Accessibility & contrast

On white

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

On black

17.84
#F2EDD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EDD4
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EDD4#FFFFFF#000000##000000
##F2EDD41.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2EBD3
Deuteranopia (green-blind)
#F4EDD5
Tritanopia (blue-blind)
#F7E9E6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2edd4;
/* rgb */ color: rgb(242, 237, 212);
/* oklch */ color: oklch(94.3% 0.033 97.7);
Tailwind
colors: {
  custom: {
    50: '#f6f2e1',
    500: '#f2edd4',
    950: '#000000',
  },
}
SCSS
$custom: #f2edd4;
$custom-light: #f6f2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2edd4",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 212
  },
  "hsl": {
    "h": 50,
    "s": 53.571,
    "l": 89.02
  },
  "oklch": {
    "l": 0.94343,
    "c": 0.03336,
    "h": 97.7
  },
  "luminance": 0.84199
}

Semantic roles & 50–950 ramp

primary
#F2EDD4
secondary
#99A3D1
accent
#3FC124
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171715
muted
#858584

Preview Lab

Preview with #F2EDD4

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

Preview Lab → · Contrast checker → · Palette generator →

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