#F2F2EC#F2F2EC

#F2F2EC is a very light, near-neutral yellow. Relative luminance 0.884; OKLCH L 95.9% C 0.008 H 106.5°. Best body text is #000000 at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#F2F2EC
RGBrgb(242, 242, 236)
HSLhsl(60, 19%, 94%)
HSVhsv(60, 2%, 95%)
CMYKcmyk(0%, 0%, 2.5%, 5.1%)
CIE-LABlab(95.34, -1.05, 2.89)
CIE-LCHlch(95.34, 3.07, 109.94°)
OKLaboklab(95.95% -0.0023 0.0076)
OKLCHoklch(95.95% 0.008 106.5)
XYZxyz(83.5080, 88.4378, 92.0114)
Luminance0.8844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2EC #ECECF2
analogous
#F2EFEC #F2F2EC #EFF2EC
triadic
#F2F2EC #ECF2F2 #F2ECF2
tetradic
#F2F2EC #ECF2EF #ECECF2 #F2ECEF
square
#F2F2EC #ECF2EF #ECECF2 #F2ECEF
split-complementary
#F2F2EC #ECEFF2 #EFECF2
monochromatic
#C0C0A3 #D9D9C8 #F2F2EC #F3F3ED #F3F3ED

Accessibility & contrast

On white

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

On black

18.69
#F2F2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2EC
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2EC#FFFFFF#000000##000000
##F2F2EC1.001.1218.6918.69
#FFFFFF1.121.0021.0021.00
#00000018.6921.001.001.00
##00000018.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3F1EC
Deuteranopia (green-blind)
#F3F2EC
Tritanopia (blue-blind)
#F3F1F0
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2f2ec;
/* rgb */ color: rgb(242, 242, 236);
/* oklch */ color: oklch(95.9% 0.008 106.5);
Tailwind
colors: {
  custom: {
    50: '#f6f6f2',
    500: '#f2f2ec',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2ec;
$custom-light: #f6f6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2ec",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 236
  },
  "hsl": {
    "h": 60,
    "s": 18.75,
    "l": 93.725
  },
  "oklch": {
    "l": 0.95949,
    "c": 0.00795,
    "h": 106.5
  },
  "luminance": 0.88438
}

Semantic roles & 50–950 ramp

primary
#F2F2EC
secondary
#B9B9C9
accent
#489D48
background
#FFFFFF
surface
#FEFEFE
border
#D6D6D6
text
#171716
muted
#858585

Preview Lab

Preview with #F2F2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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