#ECECA2#ECECA2

#ECECA2 is a very light, moderate yellow. Relative luminance 0.804; OKLCH L 92.6% C 0.094 H 108.1°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#ECECA2
RGBrgb(236, 236, 162)
HSLhsl(60, 66%, 78%)
HSVhsv(60, 31%, 93%)
CMYKcmyk(0%, 0%, 31.4%, 7.5%)
CIE-LABlab(91.88, -11.09, 35.98)
CIE-LCHlch(91.88, 37.65, 107.13°)
OKLaboklab(92.61% -0.0292 0.0893)
OKLCHoklch(92.61% 0.094 108.1)
XYZxyz(71.1096, 80.4336, 45.9547)
Luminance0.8043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECECA2 #A2A2EC
analogous
#ECC7A2 #ECECA2 #C7ECA2
triadic
#ECECA2 #A2ECEC #ECA2EC
tetradic
#ECECA2 #A2ECC7 #A2A2EC #ECA2C7
square
#ECECA2 #A2ECC7 #A2A2EC #ECA2C7
split-complementary
#ECECA2 #A2C7EC #C7A2EC
monochromatic
#D7D73C #E2E26F #ECECA2 #F6F6D5 #FAFAE6

Accessibility & contrast

On white

1.23
#ECECA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.09
#ECECA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECECA2
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECECA2#FFFFFF#000000##000000
##ECECA21.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E69D
Deuteranopia (green-blind)
#F9E9A5
Tritanopia (blue-blind)
#F6E3D9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ececa2;
/* rgb */ color: rgb(236, 236, 162);
/* oklch */ color: oklch(92.6% 0.094 108.1);
Tailwind
colors: {
  custom: {
    50: '#f3f2be',
    500: '#ececa2',
    950: '#000000',
  },
}
SCSS
$custom: #ececa2;
$custom-light: #f3f2be;
$custom-dark: #000000;
JSON
{
  "hex": "#ececa2",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 162
  },
  "hsl": {
    "h": 60,
    "s": 66.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92609,
    "c": 0.09399,
    "h": 108.1
  },
  "luminance": 0.80432
}

Semantic roles & 50–950 ramp

primary
#ECECA2
secondary
#6A6AC8
accent
#18CE18
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #ECECA2

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

Preview Lab → · Contrast checker → · Palette generator →

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