#FFF7EC#FFF7EC

#FFF7EC is a very light, near-neutral orange. Relative luminance 0.938; OKLCH L 97.9% C 0.017 H 76.1°. Best body text is #000000 at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#FFF7EC
RGBrgb(255, 247, 236)
HSLhsl(35, 100%, 96%)
HSVhsv(35, 7%, 100%)
CMYKcmyk(0%, 3.1%, 7.5%, 0%)
CIE-LABlab(97.57, 0.82, 6.23)
CIE-LCHlch(97.57, 6.28, 82.50°)
OKLaboklab(97.94% 0.0041 0.0164)
OKLCHoklch(97.94% 0.017 76.1)
XYZxyz(89.6393, 93.8384, 92.7310)
Luminance0.9384 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF7EC #ECF4FF
analogous
#FFEEEC #FFF7EC #FEFFEC
triadic
#FFF7EC #ECFFF7 #F7ECFF
tetradic
#FFF7EC #ECFFEE #ECF4FF #FFECFE
square
#FFF7EC #ECFFEE #ECF4FF #FFECFE
split-complementary
#FFF7EC #ECFEFF #EEECFF
monochromatic
#FFC372 #FFDDAF #FFF2E0 #FFF2E0 #FFF2E0

Accessibility & contrast

On white

1.06
#FFF7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.77
#FFF7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF7EC
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF7EC#FFFFFF#000000##000000
##FFF7EC1.001.0619.7719.77
#FFFFFF1.061.0021.0021.00
#00000019.7721.001.001.00
##00000019.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAF7EB
Deuteranopia (green-blind)
#FCF9EC
Tritanopia (blue-blind)
#FFF5F4
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fff7ec;
/* rgb */ color: rgb(255, 247, 236);
/* oklch */ color: oklch(97.9% 0.017 76.1);
Tailwind
colors: {
  custom: {
    50: '#fff9f2',
    500: '#fff7ec',
    950: '#000000',
  },
}
SCSS
$custom: #fff7ec;
$custom-light: #fff9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fff7ec",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 236
  },
  "hsl": {
    "h": 34.737,
    "s": 100,
    "l": 96.275
  },
  "oklch": {
    "l": 0.97936,
    "c": 0.01688,
    "h": 76.1
  },
  "luminance": 0.93838
}

Semantic roles & 50–950 ramp

primary
#FFF7EC
secondary
#A1C1EE
accent
#61E600
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#181716
muted
#868585

Preview Lab

Preview with #FFF7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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