#F2F2EB#F2F2EB

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

Color values

HEX#F2F2EB
RGBrgb(242, 242, 235)
HSLhsl(60, 21%, 94%)
HSVhsv(60, 3%, 95%)
CMYKcmyk(0%, 0%, 2.9%, 5.1%)
CIE-LABlab(95.32, -1.22, 3.37)
CIE-LCHlch(95.32, 3.59, 109.90°)
OKLaboklab(95.92% -0.0026 0.0089)
OKLCHoklch(95.92% 0.009 106.5)
XYZxyz(83.3632, 88.3798, 91.2484)
Luminance0.8838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2EB #EBEBF2
analogous
#F2EEEB #F2F2EB #EEF2EB
triadic
#F2F2EB #EBF2F2 #F2EBF2
tetradic
#F2F2EB #EBF2EE #EBEBF2 #F2EBEE
square
#F2F2EB #EBF2EE #EBEBF2 #F2EBEE
split-complementary
#F2F2EB #EBEEF2 #EEEBF2
monochromatic
#C2C2A1 #DADAC6 #F2F2EB #F3F3EC #F3F3EC

Accessibility & contrast

On white

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

On black

18.68
#F2F2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2EB
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2EB#FFFFFF#000000##000000
##F2F2EB1.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f2eb;
/* rgb */ color: rgb(242, 242, 235);
/* oklch */ color: oklch(95.9% 0.009 106.5);
Tailwind
colors: {
  custom: {
    50: '#f6f6f1',
    500: '#f2f2eb',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2eb;
$custom-light: #f6f6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2eb",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 235
  },
  "hsl": {
    "h": 60,
    "s": 21.212,
    "l": 93.529
  },
  "oklch": {
    "l": 0.95922,
    "c": 0.00927,
    "h": 106.5
  },
  "luminance": 0.8838
}

Semantic roles & 50–950 ramp

primary
#F2F2EB
secondary
#B7B7CA
accent
#46A046
background
#FFFFFF
surface
#FEFEFE
border
#D6D6D6
text
#171716
muted
#858585

Preview Lab

Preview with #F2F2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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