#F8ECBF#F8ECBF

#F8ECBF is a very light, muted yellow. Relative luminance 0.837; OKLCH L 94.1% C 0.060 H 94.9°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#F8ECBF
RGBrgb(248, 236, 191)
HSLhsl(47, 80%, 86%)
HSVhsv(47, 23%, 97%)
CMYKcmyk(0%, 4.8%, 23%, 2.7%)
CIE-LABlab(93.32, -2.89, 23.33)
CIE-LCHlch(93.32, 23.50, 97.06°)
OKLaboklab(94.15% -0.0051 0.0595)
OKLCHoklch(94.15% 0.06 94.9)
XYZxyz(78.1109, 83.7105, 61.3231)
Luminance0.8371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ECBF #BFCBF8
analogous
#F8CFBF #F8ECBF #E7F8BF
triadic
#F8ECBF #BFF8EC #ECBFF8
tetradic
#F8ECBF #BFF8CF #BFCBF8 #F8BFE7
square
#F8ECBF #BFF8CF #BFCBF8 #F8BFE7
split-complementary
#F8ECBF #BFE7F8 #CFBFF8
monochromatic
#ECCB51 #F2DC88 #F8ECBF #FCF7E3 #FCF7E3

Accessibility & contrast

On white

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

On black

17.74
#F8ECBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ECBF
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ECBF#FFFFFF#000000##000000
##F8ECBF1.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E9BC
Deuteranopia (green-blind)
#F9EEC0
Tritanopia (blue-blind)
#FFE5E0
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f8ecbf;
/* rgb */ color: rgb(248, 236, 191);
/* oklch */ color: oklch(94.1% 0.060 94.9);
Tailwind
colors: {
  custom: {
    50: '#fbf2d2',
    500: '#f8ecbf',
    950: '#000000',
  },
}
SCSS
$custom: #f8ecbf;
$custom-light: #fbf2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ecbf",
  "rgb": {
    "r": 248,
    "g": 236,
    "b": 191
  },
  "hsl": {
    "h": 47.368,
    "s": 80.282,
    "l": 86.078
  },
  "oklch": {
    "l": 0.94147,
    "c": 0.0597,
    "h": 94.9
  },
  "luminance": 0.83709
}

Semantic roles & 50–950 ramp

primary
#F8ECBF
secondary
#8093DB
accent
#35DD09
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #F8ECBF

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

Preview Lab → · Contrast checker → · Palette generator →

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