#F4F2EC#F4F2EC

#F4F2EC is a very light, near-neutral yellow. Relative luminance 0.888; OKLCH L 96.1% C 0.008 H 91.5°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#F4F2EC
RGBrgb(244, 242, 236)
HSLhsl(45, 27%, 94%)
HSVhsv(45, 3%, 96%)
CMYKcmyk(0%, 0.8%, 3.3%, 4.3%)
CIE-LABlab(95.49, -0.37, 3.12)
CIE-LCHlch(95.49, 3.15, 96.84°)
OKLaboklab(96.1% -0.0002 0.0083)
OKLCHoklch(96.1% 0.008 91.5)
XYZxyz(84.1984, 88.7937, 92.0438)
Luminance0.8879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F2EC #ECEEF4
analogous
#F4EEEC #F4F2EC #F2F4EC
triadic
#F4F2EC #ECF4F2 #F2ECF4
tetradic
#F4F2EC #ECF4EE #ECEEF4 #F4ECF2
square
#F4F2EC #ECF4EE #ECEEF4 #F4ECF2
split-complementary
#F4F2EC #ECF2F4 #EEECF4
monochromatic
#C7BD9E #DED7C5 #F4F2EC #F4F2EC #F4F2EC

Accessibility & contrast

On white

1.12
#F4F2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.76
#F4F2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F2EC
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F2EC#FFFFFF#000000##000000
##F4F2EC1.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4F2EC
Deuteranopia (green-blind)
#F4F2EC
Tritanopia (blue-blind)
#F6F1F0
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f4f2ec;
/* rgb */ color: rgb(244, 242, 236);
/* oklch */ color: oklch(96.1% 0.008 91.5);
Tailwind
colors: {
  custom: {
    50: '#f7f6f2',
    500: '#f4f2ec',
    950: '#000000',
  },
}
SCSS
$custom: #f4f2ec;
$custom-light: #f7f6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f2ec",
  "rgb": {
    "r": 244,
    "g": 242,
    "b": 236
  },
  "hsl": {
    "h": 45,
    "s": 26.667,
    "l": 94.118
  },
  "oklch": {
    "l": 0.96103,
    "c": 0.00825,
    "h": 91.5
  },
  "luminance": 0.88793
}

Semantic roles & 50–950 ramp

primary
#F4F2EC
secondary
#B7BCCD
accent
#5AA540
background
#FFFFFF
surface
#FEFEFE
border
#D6D6D6
text
#171716
muted
#858585

Preview Lab

Preview with #F4F2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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