#F2F2E4#F2F2E4

#F2F2E4 is a very light, near-neutral yellow. Relative luminance 0.880; OKLCH L 95.7% C 0.018 H 106.7°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#F2F2E4
RGBrgb(242, 242, 228)
HSLhsl(60, 35%, 92%)
HSVhsv(60, 6%, 95%)
CMYKcmyk(0%, 0%, 5.8%, 5.1%)
CIE-LABlab(95.15, -2.41, 6.75)
CIE-LCHlch(95.15, 7.17, 109.62°)
OKLaboklab(95.74% -0.0053 0.0177)
OKLCHoklch(95.74% 0.018 106.7)
XYZxyz(82.3717, 87.9832, 86.0267)
Luminance0.8798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2E4 #E4E4F2
analogous
#F2EBE4 #F2F2E4 #EBF2E4
triadic
#F2F2E4 #E4F2F2 #F2E4F2
tetradic
#F2F2E4 #E4F2EB #E4E4F2 #F2E4EB
square
#F2F2E4 #E4F2EB #E4E4F2 #F2E4EB
split-complementary
#F2F2E4 #E4EBF2 #EBE4F2
monochromatic
#CACA91 #DEDEBB #F2F2E4 #F5F5EA #F5F5EA

Accessibility & contrast

On white

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

On black

18.60
#F2F2E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2E4
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2E4#FFFFFF#000000##000000
##F2F2E41.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f2e4;
/* rgb */ color: rgb(242, 242, 228);
/* oklch */ color: oklch(95.7% 0.018 106.7);
Tailwind
colors: {
  custom: {
    50: '#f6f6ec',
    500: '#f2f2e4',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2e4;
$custom-light: #f6f6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2e4",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 228
  },
  "hsl": {
    "h": 60,
    "s": 35,
    "l": 92.157
  },
  "oklch": {
    "l": 0.95736,
    "c": 0.01849,
    "h": 106.7
  },
  "luminance": 0.87983
}

Semantic roles & 50–950 ramp

primary
#F2F2E4
secondary
#ADADCD
accent
#38AE38
background
#FFFFFE
surface
#FEFEFD
border
#D6D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #F2F2E4

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

Preview Lab → · Contrast checker → · Palette generator →

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