#F2F2E2#F2F2E2

#F2F2E2 is a very light, muted yellow. Relative luminance 0.879; OKLCH L 95.7% C 0.021 H 106.8°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#F2F2E2
RGBrgb(242, 242, 226)
HSLhsl(60, 38%, 92%)
HSVhsv(60, 7%, 95%)
CMYKcmyk(0%, 0%, 6.6%, 5.1%)
CIE-LABlab(95.11, -2.74, 7.72)
CIE-LCHlch(95.11, 8.19, 109.54°)
OKLaboklab(95.68% -0.0061 0.0202)
OKLCHoklch(95.68% 0.021 106.8)
XYZxyz(82.0957, 87.8728, 84.5730)
Luminance0.8787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2E2 #E2E2F2
analogous
#F2EAE2 #F2F2E2 #EAF2E2
triadic
#F2F2E2 #E2F2F2 #F2E2F2
tetradic
#F2F2E2 #E2F2EA #E2E2F2 #F2E2EA
square
#F2F2E2 #E2F2EA #E2E2F2 #F2E2EA
split-complementary
#F2F2E2 #E2EAF2 #EAE2F2
monochromatic
#CCCC8D #DFDFB8 #F2F2E2 #F6F6EA #F6F6EA

Accessibility & contrast

On white

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

On black

18.57
#F2F2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2E2
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2E2#FFFFFF#000000##000000
##F2F2E21.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5F0E1
Deuteranopia (green-blind)
#F5F1E3
Tritanopia (blue-blind)
#F5F0ED
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2f2e2;
/* rgb */ color: rgb(242, 242, 226);
/* oklch */ color: oklch(95.7% 0.021 106.8);
Tailwind
colors: {
  custom: {
    50: '#f6f6eb',
    500: '#f2f2e2',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2e2;
$custom-light: #f6f6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2e2",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 226
  },
  "hsl": {
    "h": 60,
    "s": 38.095,
    "l": 91.765
  },
  "oklch": {
    "l": 0.95684,
    "c": 0.02112,
    "h": 106.8
  },
  "luminance": 0.87872
}

Semantic roles & 50–950 ramp

primary
#F2F2E2
secondary
#AAAACE
accent
#34B134
background
#FFFFFE
surface
#FEFEFD
border
#D6D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #F2F2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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