#F2ECBF#F2ECBF

#F2ECBF is a very light, muted yellow. Relative luminance 0.826; OKLCH L 93.7% C 0.059 H 101.1°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#F2ECBF
RGBrgb(242, 236, 191)
HSLhsl(53, 66%, 85%)
HSVhsv(53, 21%, 95%)
CMYKcmyk(0%, 2.5%, 21.1%, 5.1%)
CIE-LABlab(92.85, -5.08, 22.60)
CIE-LCHlch(92.85, 23.16, 102.66°)
OKLaboklab(93.66% -0.0114 0.0577)
OKLCHoklch(93.66% 0.059 101.1)
XYZxyz(76.0171, 82.6309, 61.2249)
Luminance0.8263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECBF #BFC5F2
analogous
#F2D2BF #F2ECBF #DFF2BF
triadic
#F2ECBF #BFF2EC #ECBFF2
tetradic
#F2ECBF #BFF2D2 #BFC5F2 #F2BFDF
square
#F2ECBF #BFF2D2 #BFC5F2 #F2BFDF
split-complementary
#F2ECBF #BFDFF2 #D2BFF2
monochromatic
#DDCE59 #E8DD8C #F2ECBF #FAF7E6 #FAF7E6

Accessibility & contrast

On white

1.20
#F2ECBF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.53
#F2ECBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECBF
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECBF#FFFFFF#000000##000000
##F2ECBF1.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E9BC
Deuteranopia (green-blind)
#F7ECC1
Tritanopia (blue-blind)
#FAE6E0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ecbf;
/* rgb */ color: rgb(242, 236, 191);
/* oklch */ color: oklch(93.7% 0.059 101.1);
Tailwind
colors: {
  custom: {
    50: '#f6f2d2',
    500: '#f2ecbf',
    950: '#000000',
  },
}
SCSS
$custom: #f2ecbf;
$custom-light: #f6f2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ecbf",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 191
  },
  "hsl": {
    "h": 52.941,
    "s": 66.234,
    "l": 84.902
  },
  "oklch": {
    "l": 0.9366,
    "c": 0.05882,
    "h": 101.1
  },
  "luminance": 0.8263
}

Semantic roles & 50–950 ramp

primary
#F2ECBF
secondary
#838DD2
accent
#2DCE17
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #F2ECBF

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

Preview Lab → · Contrast checker → · Palette generator →

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