#F7ECBB#F7ECBB

#F7ECBB is a very light, moderate yellow. Relative luminance 0.834; OKLCH L 94.0% C 0.064 H 96.9°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#F7ECBB
RGBrgb(247, 236, 187)
HSLhsl(49, 79%, 85%)
HSVhsv(49, 24%, 97%)
CMYKcmyk(0%, 4.5%, 24.3%, 3.1%)
CIE-LABlab(93.17, -3.80, 25.15)
CIE-LCHlch(93.17, 25.44, 98.59°)
OKLaboklab(93.98% -0.0077 0.0639)
OKLCHoklch(93.98% 0.064 96.9)
XYZxyz(77.3230, 83.3544, 59.0198)
Luminance0.8335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7ECBB #BBC6F7
analogous
#F7CEBB #F7ECBB #E4F7BB
triadic
#F7ECBB #BBF7EC #ECBBF7
tetradic
#F7ECBB #BBF7CE #BBC6F7 #F7BBE4
square
#F7ECBB #BBF7CE #BBC6F7 #F7BBE4
split-complementary
#F7ECBB #BBE4F7 #CEBBF7
monochromatic
#EACD4D #F1DD84 #F7ECBB #FCF7E4 #FCF7E4

Accessibility & contrast

On white

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

On black

17.67
#F7ECBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7ECBB
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7ECBB#FFFFFF#000000##000000
##F7ECBB1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E9B8
Deuteranopia (green-blind)
#F9EDBD
Tritanopia (blue-blind)
#FFE5DF
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7ecbb;
/* rgb */ color: rgb(247, 236, 187);
/* oklch */ color: oklch(94.0% 0.064 96.9);
Tailwind
colors: {
  custom: {
    50: '#faf2cf',
    500: '#f7ecbb',
    950: '#000000',
  },
}
SCSS
$custom: #f7ecbb;
$custom-light: #faf2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ecbb",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 187
  },
  "hsl": {
    "h": 49,
    "s": 78.947,
    "l": 85.098
  },
  "oklch": {
    "l": 0.9398,
    "c": 0.06438,
    "h": 96.9
  },
  "luminance": 0.83353
}

Semantic roles & 50–950 ramp

primary
#F7ECBB
secondary
#7D8ED9
accent
#31DB0A
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #F7ECBB

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

Preview Lab → · Contrast checker → · Palette generator →

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