#F2EFE4#F2EFE4

#F2EFE4 is a very light, near-neutral yellow. Relative luminance 0.862; OKLCH L 95.1% C 0.015 H 94.2°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#F2EFE4
RGBrgb(242, 239, 228)
HSLhsl(47, 35%, 92%)
HSVhsv(47, 6%, 95%)
CMYKcmyk(0%, 1.2%, 5.8%, 5.1%)
CIE-LABlab(94.40, -0.88, 5.67)
CIE-LCHlch(94.40, 5.74, 98.87°)
OKLaboklab(95.15% -0.0011 0.0149)
OKLCHoklch(95.15% 0.015 94.2)
XYZxyz(81.4861, 86.2121, 85.7315)
Luminance0.8621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EFE4 #E4E7F2
analogous
#F2E8E4 #F2EFE4 #EEF2E4
triadic
#F2EFE4 #E4F2EF #EFE4F2
tetradic
#F2EFE4 #E4F2E8 #E4E7F2 #F2E4EE
square
#F2EFE4 #E4F2E8 #E4E7F2 #F2E4EE
split-complementary
#F2EFE4 #E4EEF2 #E8E4F2
monochromatic
#CABE91 #DED7BB #F2EFE4 #F5F3EA #F5F3EA

Accessibility & contrast

On white

1.15
#F2EFE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#F2EFE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EFE4
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EFE4#FFFFFF#000000##000000
##F2EFE41.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2EEE3
Deuteranopia (green-blind)
#F3EFE4
Tritanopia (blue-blind)
#F5EDEC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2efe4;
/* rgb */ color: rgb(242, 239, 228);
/* oklch */ color: oklch(95.1% 0.015 94.2);
Tailwind
colors: {
  custom: {
    50: '#f6f4ec',
    500: '#f2efe4',
    950: '#000000',
  },
}
SCSS
$custom: #f2efe4;
$custom-light: #f6f4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f2efe4",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 228
  },
  "hsl": {
    "h": 47.143,
    "s": 35,
    "l": 92.157
  },
  "oklch": {
    "l": 0.95145,
    "c": 0.01494,
    "h": 94.2
  },
  "luminance": 0.86212
}

Semantic roles & 50–950 ramp

primary
#F2EFE4
secondary
#ADB4CD
accent
#51AE38
background
#FFFFFE
surface
#FEFEFD
border
#D6D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #F2EFE4

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

Preview Lab → · Contrast checker → · Palette generator →

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