#ECE2AA#ECE2AA

#ECE2AA is a very light, moderate yellow. Relative luminance 0.751; OKLCH L 90.7% C 0.073 H 99.2°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#ECE2AA
RGBrgb(236, 226, 170)
HSLhsl(51, 63%, 80%)
HSVhsv(51, 28%, 93%)
CMYKcmyk(0%, 4.2%, 28%, 7.5%)
CIE-LABlab(89.45, -5.07, 28.67)
CIE-LCHlch(89.45, 29.12, 100.03°)
OKLaboklab(90.73% -0.0116 0.0722)
OKLCHoklch(90.73% 0.073 99.2)
XYZxyz(69.0445, 75.1293, 48.8867)
Luminance0.7513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE2AA #AAB4EC
analogous
#ECC1AA #ECE2AA #D5ECAA
triadic
#ECE2AA #AAECE2 #E2AAEC
tetradic
#ECE2AA #AAECC1 #AAB4EC #ECAAD5
square
#ECE2AA #AAECC1 #AAB4EC #ECAAD5
split-complementary
#ECE2AA #AAD5EC #C1AAEC
monochromatic
#D6C046 #E1D178 #ECE2AA #F7F3DC #F9F6E6

Accessibility & contrast

On white

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

On black

16.03
#ECE2AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE2AA
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE2AA#FFFFFF#000000##000000
##ECE2AA1.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDEA6
Deuteranopia (green-blind)
#F0E3AC
Tritanopia (blue-blind)
#F6DAD3
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ece2aa;
/* rgb */ color: rgb(236, 226, 170);
/* oklch */ color: oklch(90.7% 0.073 99.2);
Tailwind
colors: {
  custom: {
    50: '#f3ebc3',
    500: '#ece2aa',
    950: '#000000',
  },
}
SCSS
$custom: #ece2aa;
$custom-light: #f3ebc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ece2aa",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 170
  },
  "hsl": {
    "h": 50.909,
    "s": 63.462,
    "l": 79.608
  },
  "oklch": {
    "l": 0.90732,
    "c": 0.07313,
    "h": 99.2
  },
  "luminance": 0.75128
}

Semantic roles & 50–950 ramp

primary
#ECE2AA
secondary
#727FC9
accent
#35CB1A
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#171612
muted
#858482

Preview Lab

Preview with #ECE2AA

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

Preview Lab → · Contrast checker → · Palette generator →

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