#ECE2AE#ECE2AE

#ECE2AE is a very light, moderate yellow. Relative luminance 0.753; OKLCH L 90.8% C 0.068 H 98.5°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#ECE2AE
RGBrgb(236, 226, 174)
HSLhsl(50, 62%, 80%)
HSVhsv(50, 26%, 93%)
CMYKcmyk(0%, 4.2%, 26.3%, 7.5%)
CIE-LABlab(89.53, -4.55, 26.71)
CIE-LCHlch(89.53, 27.09, 99.67°)
OKLaboklab(90.81% -0.01 0.0676)
OKLCHoklch(90.81% 0.068 98.5)
XYZxyz(69.4287, 75.2830, 50.9099)
Luminance0.7528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE2AE #AEB8EC
analogous
#ECC3AE #ECE2AE #D7ECAE
triadic
#ECE2AE #AEECE2 #E2AEEC
tetradic
#ECE2AE #AEECC3 #AEB8EC #ECAED7
square
#ECE2AE #AEECC3 #AEB8EC #ECAED7
split-complementary
#ECE2AE #AED7EC #C3AEEC
monochromatic
#D5BF4B #E0D07C #ECE2AE #F8F4E0 #F9F6E6

Accessibility & contrast

On white

1.31
#ECE2AE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.06
#ECE2AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE2AE
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE2AE#FFFFFF#000000##000000
##ECE2AE1.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDFAB
Deuteranopia (green-blind)
#EFE3B0
Tritanopia (blue-blind)
#F6DAD4
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ece2ae;
/* rgb */ color: rgb(236, 226, 174);
/* oklch */ color: oklch(90.8% 0.068 98.5);
Tailwind
colors: {
  custom: {
    50: '#f2ebc6',
    500: '#ece2ae',
    950: '#000000',
  },
}
SCSS
$custom: #ece2ae;
$custom-light: #f2ebc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ece2ae",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 174
  },
  "hsl": {
    "h": 50.323,
    "s": 62,
    "l": 80.392
  },
  "oklch": {
    "l": 0.90812,
    "c": 0.06829,
    "h": 98.5
  },
  "luminance": 0.75282
}

Semantic roles & 50–950 ramp

primary
#ECE2AE
secondary
#7583C9
accent
#38CA1C
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#171613
muted
#858482

Preview Lab

Preview with #ECE2AE

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

Preview Lab → · Contrast checker → · Palette generator →

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