#ECE7CA#ECE7CA

#ECE7CA is a very light, muted yellow. Relative luminance 0.792; OKLCH L 92.4% C 0.039 H 99.1°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#ECE7CA
RGBrgb(236, 231, 202)
HSLhsl(51, 47%, 86%)
HSVhsv(51, 14%, 93%)
CMYKcmyk(0%, 2.1%, 14.4%, 7.5%)
CIE-LABlab(91.35, -3.09, 14.74)
CIE-LCHlch(91.35, 15.06, 101.82°)
OKLaboklab(92.43% -0.0061 0.0382)
OKLCHoklch(92.43% 0.039 99.1)
XYZxyz(73.8278, 79.2498, 67.2731)
Luminance0.7925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE7CA #CACFEC
analogous
#ECD6CA #ECE7CA #E0ECCA
triadic
#ECE7CA #CAECE7 #E7CAEC
tetradic
#ECE7CA #CAECD6 #CACFEC #ECCAE0
square
#ECE7CA #CAECD6 #CACFEC #ECCAE0
split-complementary
#ECE7CA #CAE0EC #D6CAEC
monochromatic
#CCBE70 #DCD39D #ECE7CA #F7F5E8 #F7F5E8

Accessibility & contrast

On white

1.25
#ECE7CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#ECE7CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE7CA
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE7CA#FFFFFF#000000##000000
##ECE7CA1.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDE5C8
Deuteranopia (green-blind)
#EFE7CB
Tritanopia (blue-blind)
#F2E3DF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ece7ca;
/* rgb */ color: rgb(236, 231, 202);
/* oklch */ color: oklch(92.4% 0.039 99.1);
Tailwind
colors: {
  custom: {
    50: '#f2eeda',
    500: '#ece7ca',
    950: '#000000',
  },
}
SCSS
$custom: #ece7ca;
$custom-light: #f2eeda;
$custom-dark: #000000;
JSON
{
  "hex": "#ece7ca",
  "rgb": {
    "r": 236,
    "g": 231,
    "b": 202
  },
  "hsl": {
    "h": 51.176,
    "s": 47.222,
    "l": 85.882
  },
  "oklch": {
    "l": 0.92432,
    "c": 0.03864,
    "h": 99.1
  },
  "luminance": 0.79249
}

Semantic roles & 50–950 ramp

primary
#ECE7CA
secondary
#929AC8
accent
#40BA2B
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #ECE7CA

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

Preview Lab → · Contrast checker → · Palette generator →

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