#F7ECBF#F7ECBF

#F7ECBF is a very light, muted yellow. Relative luminance 0.835; OKLCH L 94.1% C 0.059 H 95.9°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#F7ECBF
RGBrgb(247, 236, 191)
HSLhsl(48, 78%, 86%)
HSVhsv(48, 23%, 97%)
CMYKcmyk(0%, 4.5%, 22.7%, 3.1%)
CIE-LABlab(93.25, -3.25, 23.20)
CIE-LCHlch(93.25, 23.43, 97.98°)
OKLaboklab(94.07% -0.0061 0.0592)
OKLCHoklch(94.07% 0.06 95.9)
XYZxyz(77.7572, 83.5281, 61.3065)
Luminance0.8353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7ECBF #BFCAF7
analogous
#F7D0BF #F7ECBF #E6F7BF
triadic
#F7ECBF #BFF7EC #ECBFF7
tetradic
#F7ECBF #BFF7D0 #BFCAF7 #F7BFE6
square
#F7ECBF #BFF7D0 #BFCAF7 #F7BFE6
split-complementary
#F7ECBF #BFE6F7 #D0BFF7
monochromatic
#E9CC52 #F0DC89 #F7ECBF #FCF7E4 #FCF7E4

Accessibility & contrast

On white

1.19
#F7ECBF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#F7ECBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7ECBF
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7ECBF#FFFFFF#000000##000000
##F7ECBF1.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7ecbf;
/* rgb */ color: rgb(247, 236, 191);
/* oklch */ color: oklch(94.1% 0.059 95.9);
Tailwind
colors: {
  custom: {
    50: '#faf2d2',
    500: '#f7ecbf',
    950: '#000000',
  },
}
SCSS
$custom: #f7ecbf;
$custom-light: #faf2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ecbf",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 191
  },
  "hsl": {
    "h": 48.214,
    "s": 77.778,
    "l": 85.882
  },
  "oklch": {
    "l": 0.94065,
    "c": 0.0595,
    "h": 95.9
  },
  "luminance": 0.83527
}

Semantic roles & 50–950 ramp

primary
#F7ECBF
secondary
#8192DA
accent
#34DA0B
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #F7ECBF

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

Preview Lab → · Contrast checker → · Palette generator →

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