#ECEAA2#ECEAA2

#ECEAA2 is a very light, moderate yellow. Relative luminance 0.793; OKLCH L 92.2% C 0.092 H 106.7°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#ECEAA2
RGBrgb(236, 234, 162)
HSLhsl(58, 66%, 78%)
HSVhsv(58, 31%, 93%)
CMYKcmyk(0%, 0.8%, 31.4%, 7.5%)
CIE-LABlab(91.36, -10.09, 35.30)
CIE-LCHlch(91.36, 36.71, 105.96°)
OKLaboklab(92.2% -0.0264 0.0878)
OKLCHoklch(92.2% 0.092 106.7)
XYZxyz(70.5370, 79.2884, 45.7638)
Luminance0.7929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEAA2 #A2A4EC
analogous
#ECC5A2 #ECEAA2 #C9ECA2
triadic
#ECEAA2 #A2ECEA #EAA2EC
tetradic
#ECEAA2 #A2ECC5 #A2A4EC #ECA2C9
square
#ECEAA2 #A2ECC5 #A2A4EC #ECA2C9
split-complementary
#ECEAA2 #A2C9EC #C5A2EC
monochromatic
#D7D33C #E2DF6F #ECEAA2 #F6F5D5 #FAF9E6

Accessibility & contrast

On white

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

On black

16.86
#ECEAA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEAA2
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEAA2#FFFFFF#000000##000000
##ECEAA21.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E49D
Deuteranopia (green-blind)
#F7E8A5
Tritanopia (blue-blind)
#F6E1D7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #eceaa2;
/* rgb */ color: rgb(236, 234, 162);
/* oklch */ color: oklch(92.2% 0.092 106.7);
Tailwind
colors: {
  custom: {
    50: '#f3f0be',
    500: '#eceaa2',
    950: '#000000',
  },
}
SCSS
$custom: #eceaa2;
$custom-light: #f3f0be;
$custom-dark: #000000;
JSON
{
  "hex": "#eceaa2",
  "rgb": {
    "r": 236,
    "g": 234,
    "b": 162
  },
  "hsl": {
    "h": 58.378,
    "s": 66.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92201,
    "c": 0.09162,
    "h": 106.7
  },
  "luminance": 0.79287
}

Semantic roles & 50–950 ramp

primary
#ECEAA2
secondary
#6A6DC8
accent
#1CCE18
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #ECEAA2

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

Preview Lab → · Contrast checker → · Palette generator →

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