#ECE7CF#ECE7CF

#ECE7CF is a very light, muted yellow. Relative luminance 0.795; OKLCH L 92.6% C 0.032 H 97.3°. Best body text is #000000 at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#ECE7CF
RGBrgb(236, 231, 207)
HSLhsl(50, 43%, 87%)
HSVhsv(50, 12%, 93%)
CMYKcmyk(0%, 2.1%, 12.3%, 7.5%)
CIE-LABlab(91.46, -2.31, 12.29)
CIE-LCHlch(91.46, 12.51, 100.63°)
OKLaboklab(92.55% -0.0041 0.032)
OKLCHoklch(92.55% 0.032 97.3)
XYZxyz(74.4294, 79.4904, 70.4416)
Luminance0.7949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE7CF #CFD4EC
analogous
#ECD9CF #ECE7CF #E3ECCF
triadic
#ECE7CF #CFECE7 #E7CFEC
tetradic
#ECE7CF #CFECD9 #CFD4EC #ECCFE3
square
#ECE7CF #CFECD9 #CFD4EC #ECCFE3
split-complementary
#ECE7CF #CFE3EC #D9CFEC
monochromatic
#C9BB77 #DBD1A3 #ECE7CF #F6F4E9 #F6F4E9

Accessibility & contrast

On white

1.24
#ECE7CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.90
#ECE7CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE7CF
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE7CF#FFFFFF#000000##000000
##ECE7CF1.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECE5CE
Deuteranopia (green-blind)
#EEE7D0
Tritanopia (blue-blind)
#F1E3E0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ece7cf;
/* rgb */ color: rgb(236, 231, 207);
/* oklch */ color: oklch(92.6% 0.032 97.3);
Tailwind
colors: {
  custom: {
    50: '#f2eedd',
    500: '#ece7cf',
    950: '#000000',
  },
}
SCSS
$custom: #ece7cf;
$custom-light: #f2eedd;
$custom-dark: #000000;
JSON
{
  "hex": "#ece7cf",
  "rgb": {
    "r": 236,
    "g": 231,
    "b": 207
  },
  "hsl": {
    "h": 49.655,
    "s": 43.284,
    "l": 86.863
  },
  "oklch": {
    "l": 0.92554,
    "c": 0.03222,
    "h": 97.3
  },
  "luminance": 0.7949
}

Semantic roles & 50–950 ramp

primary
#ECE7CF
secondary
#98A0C8
accent
#46B62F
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171615
muted
#858584

Preview Lab

Preview with #ECE7CF

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

Preview Lab → · Contrast checker → · Palette generator →

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