#F2EFCA#F2EFCA

#F2EFCA is a very light, muted yellow. Relative luminance 0.849; OKLCH L 94.5% C 0.048 H 103.5°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#F2EFCA
RGBrgb(242, 239, 202)
HSLhsl(56, 61%, 87%)
HSVhsv(56, 17%, 95%)
CMYKcmyk(0%, 1.2%, 16.5%, 5.1%)
CIE-LABlab(93.83, -5.00, 18.30)
CIE-LCHlch(93.83, 18.97, 105.27°)
OKLaboklab(94.5% -0.0113 0.0471)
OKLCHoklch(94.5% 0.048 103.5)
XYZxyz(78.1444, 84.8754, 68.1316)
Luminance0.8488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EFCA #CACDF2
analogous
#F2DBCA #F2EFCA #E1F2CA
triadic
#F2EFCA #CAF2EF #EFCAF2
tetradic
#F2EFCA #CAF2DB #CACDF2 #F2CAE1
square
#F2EFCA #CAF2DB #CACDF2 #F2CAE1
split-complementary
#F2EFCA #CAE1F2 #DBCAF2
monochromatic
#DAD168 #E6E099 #F2EFCA #F9F8E6 #F9F8E6

Accessibility & contrast

On white

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

On black

17.98
#F2EFCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EFCA
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EFCA#FFFFFF#000000##000000
##F2EFCA1.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6ECC8
Deuteranopia (green-blind)
#F7EECB
Tritanopia (blue-blind)
#F8EAE5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2efca;
/* rgb */ color: rgb(242, 239, 202);
/* oklch */ color: oklch(94.5% 0.048 103.5);
Tailwind
colors: {
  custom: {
    50: '#f6f4da',
    500: '#f2efca',
    950: '#000000',
  },
}
SCSS
$custom: #f2efca;
$custom-light: #f6f4da;
$custom-dark: #000000;
JSON
{
  "hex": "#f2efca",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 202
  },
  "hsl": {
    "h": 55.5,
    "s": 60.606,
    "l": 87.059
  },
  "oklch": {
    "l": 0.94503,
    "c": 0.04843,
    "h": 103.5
  },
  "luminance": 0.84875
}

Semantic roles & 50–950 ramp

primary
#F2EFCA
secondary
#8F94D2
accent
#2AC81D
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F2EFCA

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

Preview Lab → · Contrast checker → · Palette generator →

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