#F7ECB2#F7ECB2

#F7ECB2 is a very light, moderate yellow. Relative luminance 0.830; OKLCH L 93.8% C 0.075 H 98.6°. Best body text is #000000 at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#F7ECB2
RGBrgb(247, 236, 178)
HSLhsl(50, 81%, 83%)
HSVhsv(50, 28%, 97%)
CMYKcmyk(0%, 4.5%, 27.9%, 3.1%)
CIE-LABlab(93.01, -4.98, 29.53)
CIE-LCHlch(93.01, 29.95, 99.57°)
OKLaboklab(93.8% -0.0113 0.0744)
OKLCHoklch(93.8% 0.075 98.6)
XYZxyz(76.3896, 82.9811, 54.1037)
Luminance0.8298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7ECB2 #B2BDF7
analogous
#F7C9B2 #F7ECB2 #DFF7B2
triadic
#F7ECB2 #B2F7EC #ECB2F7
tetradic
#F7ECB2 #B2F7C9 #B2BDF7 #F7B2DF
square
#F7ECB2 #B2F7C9 #B2BDF7 #F7B2DF
split-complementary
#F7ECB2 #B2DFF7 #C9B2F7
monochromatic
#EBD143 #F1DE7B #F7ECB2 #FCF8E3 #FCF8E3

Accessibility & contrast

On white

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

On black

17.60
#F7ECB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7ECB2
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7ECB2#FFFFFF#000000##000000
##F7ECB21.001.1917.6017.60
#FFFFFF1.191.0021.0021.00
#00000017.6021.001.001.00
##00000017.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E8AE
Deuteranopia (green-blind)
#FBEDB4
Tritanopia (blue-blind)
#FFE4DD
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7ecb2;
/* rgb */ color: rgb(247, 236, 178);
/* oklch */ color: oklch(93.8% 0.075 98.6);
Tailwind
colors: {
  custom: {
    50: '#faf2c9',
    500: '#f7ecb2',
    950: '#000000',
  },
}
SCSS
$custom: #f7ecb2;
$custom-light: #faf2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ecb2",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 178
  },
  "hsl": {
    "h": 50.435,
    "s": 81.176,
    "l": 83.333
  },
  "oklch": {
    "l": 0.93798,
    "c": 0.07524,
    "h": 98.6
  },
  "luminance": 0.82979
}

Semantic roles & 50–950 ramp

primary
#F7ECB2
secondary
#7484D9
accent
#2ADE08
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #F7ECB2

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

Preview Lab → · Contrast checker → · Palette generator →

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