#F2F2DE#F2F2DE

#F2F2DE is a very light, muted yellow. Relative luminance 0.877; OKLCH L 95.6% C 0.026 H 106.9°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#F2F2DE
RGBrgb(242, 242, 222)
HSLhsl(60, 43%, 91%)
HSVhsv(60, 8%, 95%)
CMYKcmyk(0%, 0%, 8.3%, 5.1%)
CIE-LABlab(95.02, -3.40, 9.65)
CIE-LCHlch(95.02, 10.23, 109.38°)
OKLaboklab(95.58% -0.0076 0.0252)
OKLCHoklch(95.58% 0.026 106.9)
XYZxyz(81.5532, 87.6558, 81.7160)
Luminance0.8766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2DE #DEDEF2
analogous
#F2E8DE #F2F2DE #E8F2DE
triadic
#F2F2DE #DEF2F2 #F2DEF2
tetradic
#F2F2DE #DEF2E8 #DEDEF2 #F2DEE8
square
#F2F2DE #DEF2E8 #DEDEF2 #F2DEE8
split-complementary
#F2F2DE #DEE8F2 #E8DEF2
monochromatic
#CFCF86 #E1E1B2 #F2F2DE #F6F6E9 #F6F6E9

Accessibility & contrast

On white

1.13
#F2F2DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.53
#F2F2DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2DE
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2DE#FFFFFF#000000##000000
##F2F2DE1.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6F0DD
Deuteranopia (green-blind)
#F6F1DF
Tritanopia (blue-blind)
#F5EFEC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2f2de;
/* rgb */ color: rgb(242, 242, 222);
/* oklch */ color: oklch(95.6% 0.026 106.9);
Tailwind
colors: {
  custom: {
    50: '#f6f6e8',
    500: '#f2f2de',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2de;
$custom-light: #f6f6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2de",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 222
  },
  "hsl": {
    "h": 60,
    "s": 43.478,
    "l": 90.98
  },
  "oklch": {
    "l": 0.95581,
    "c": 0.02635,
    "h": 106.9
  },
  "luminance": 0.87655
}

Semantic roles & 50–950 ramp

primary
#F2F2DE
secondary
#A5A5CF
accent
#2FB72F
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #F2F2DE

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

Preview Lab → · Contrast checker → · Palette generator →

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