#F2F2ED#F2F2ED

#F2F2ED is a very light, near-neutral yellow. Relative luminance 0.885; OKLCH L 96.0% C 0.007 H 106.5°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#F2F2ED
RGBrgb(242, 242, 237)
HSLhsl(60, 16%, 94%)
HSVhsv(60, 2%, 95%)
CMYKcmyk(0%, 0%, 2.1%, 5.1%)
CIE-LABlab(95.37, -0.88, 2.41)
CIE-LCHlch(95.37, 2.56, 109.98°)
OKLaboklab(95.98% -0.0019 0.0064)
OKLCHoklch(95.98% 0.007 106.5)
XYZxyz(83.6537, 88.4960, 92.7787)
Luminance0.8850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2ED #EDEDF2
analogous
#F2F0ED #F2F2ED #F0F2ED
triadic
#F2F2ED #EDF2F2 #F2EDF2
tetradic
#F2F2ED #EDF2F0 #EDEDF2 #F2EDF0
square
#F2F2ED #EDF2F0 #EDEDF2 #F2EDF0
split-complementary
#F2F2ED #EDF0F2 #F0EDF2
monochromatic
#BFBFA6 #D8D8C9 #F2F2ED #F2F2ED #F2F2ED

Accessibility & contrast

On white

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

On black

18.70
#F2F2ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2ED
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2ED#FFFFFF#000000##000000
##F2F2ED1.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f2ed;
/* rgb */ color: rgb(242, 242, 237);
/* oklch */ color: oklch(96.0% 0.007 106.5);
Tailwind
colors: {
  custom: {
    50: '#f6f6f2',
    500: '#f2f2ed',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2ed;
$custom-light: #f6f6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2ed",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 237
  },
  "hsl": {
    "h": 60,
    "s": 16.129,
    "l": 93.922
  },
  "oklch": {
    "l": 0.95976,
    "c": 0.00662,
    "h": 106.5
  },
  "luminance": 0.88496
}

Semantic roles & 50–950 ramp

primary
#F2F2ED
secondary
#BBBBC9
accent
#4B9A4B
background
#FFFFFF
surface
#FEFEFE
border
#D6D6D6
text
#171717
muted
#858585

Preview Lab

Preview with #F2F2ED

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

Preview Lab → · Contrast checker → · Palette generator →

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