#F2EDCF#F2EDCF

#F2EDCF is a very light, muted yellow. Relative luminance 0.840; OKLCH L 94.2% C 0.040 H 99.3°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#F2EDCF
RGBrgb(242, 237, 207)
HSLhsl(51, 57%, 88%)
HSVhsv(51, 14%, 95%)
CMYKcmyk(0%, 2.1%, 14.5%, 5.1%)
CIE-LABlab(93.43, -3.23, 15.15)
CIE-LCHlch(93.43, 15.49, 102.04°)
OKLaboklab(94.22% -0.0064 0.0392)
OKLCHoklch(94.22% 0.04 99.3)
XYZxyz(78.1637, 83.9515, 71.1060)
Luminance0.8395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDCF #CFD4F2
analogous
#F2DBCF #F2EDCF #E5F2CF
triadic
#F2EDCF #CFF2ED #EDCFF2
tetradic
#F2EDCF #CFF2DB #CFD4F2 #F2CFE5
square
#F2EDCF #CFF2DB #CFD4F2 #F2CFE5
split-complementary
#F2EDCF #CFE5F2 #DBCFF2
monochromatic
#D8C96F #E5DB9F #F2EDCF #F8F6E7 #F8F6E7

Accessibility & contrast

On white

1.18
#F2EDCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.79
#F2EDCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EDCF
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EDCF#FFFFFF#000000##000000
##F2EDCF1.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3EBCD
Deuteranopia (green-blind)
#F5EDD0
Tritanopia (blue-blind)
#F8E8E4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2edcf;
/* rgb */ color: rgb(242, 237, 207);
/* oklch */ color: oklch(94.2% 0.040 99.3);
Tailwind
colors: {
  custom: {
    50: '#f6f2dd',
    500: '#f2edcf',
    950: '#000000',
  },
}
SCSS
$custom: #f2edcf;
$custom-light: #f6f2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#f2edcf",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 207
  },
  "hsl": {
    "h": 51.429,
    "s": 57.377,
    "l": 88.039
  },
  "oklch": {
    "l": 0.94222,
    "c": 0.03975,
    "h": 99.3
  },
  "luminance": 0.83951
}

Semantic roles & 50–950 ramp

primary
#F2EDCF
secondary
#949DD1
accent
#38C521
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171715
muted
#858584

Preview Lab

Preview with #F2EDCF

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

Preview Lab → · Contrast checker → · Palette generator →

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