#F2EED8#F2EED8

#F2EED8 is a very light, muted yellow. Relative luminance 0.850; OKLCH L 94.6% C 0.029 H 98.5°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#F2EED8
RGBrgb(242, 238, 216)
HSLhsl(51, 50%, 90%)
HSVhsv(51, 11%, 95%)
CMYKcmyk(0%, 1.7%, 10.7%, 5.1%)
CIE-LABlab(93.88, -2.34, 11.13)
CIE-LCHlch(93.88, 11.37, 101.86°)
OKLaboklab(94.64% -0.0043 0.029)
OKLCHoklch(94.64% 0.029 98.5)
XYZxyz(79.5858, 84.9849, 77.1635)
Luminance0.8498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EED8 #D8DCF2
analogous
#F2E1D8 #F2EED8 #E9F2D8
triadic
#F2EED8 #D8F2EE #EED8F2
tetradic
#F2EED8 #D8F2E1 #D8DCF2 #F2D8E9
square
#F2EED8 #D8F2E1 #D8DCF2 #F2D8E9
split-complementary
#F2EED8 #D8E9F2 #E1D8F2
monochromatic
#D3C67C #E3DAAA #F2EED8 #F7F5E8 #F7F5E8

Accessibility & contrast

On white

1.17
#F2EED8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.00
#F2EED8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EED8
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EED8#FFFFFF#000000##000000
##F2EED81.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3ECD7
Deuteranopia (green-blind)
#F4EED9
Tritanopia (blue-blind)
#F7EBE8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2eed8;
/* rgb */ color: rgb(242, 238, 216);
/* oklch */ color: oklch(94.6% 0.029 98.5);
Tailwind
colors: {
  custom: {
    50: '#f6f3e4',
    500: '#f2eed8',
    950: '#000000',
  },
}
SCSS
$custom: #f2eed8;
$custom-light: #f6f3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eed8",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 216
  },
  "hsl": {
    "h": 50.769,
    "s": 50,
    "l": 89.804
  },
  "oklch": {
    "l": 0.94639,
    "c": 0.02933,
    "h": 98.5
  },
  "luminance": 0.84984
}

Semantic roles & 50–950 ramp

primary
#F2EED8
secondary
#9EA6D0
accent
#3FBD28
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171715
muted
#858584

Preview Lab

Preview with #F2EED8

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

Preview Lab → · Contrast checker → · Palette generator →

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