#ECECA5#ECECA5

#ECECA5 is a very light, moderate yellow. Relative luminance 0.805; OKLCH L 92.7% C 0.090 H 108.0°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#ECECA5
RGBrgb(236, 236, 165)
HSLhsl(60, 65%, 79%)
HSVhsv(60, 30%, 93%)
CMYKcmyk(0%, 0%, 30.1%, 7.5%)
CIE-LABlab(91.93, -10.72, 34.53)
CIE-LCHlch(91.93, 36.16, 107.25°)
OKLaboklab(92.66% -0.028 0.086)
OKLCHoklch(92.66% 0.09 108)
XYZxyz(71.3794, 80.5415, 47.3759)
Luminance0.8054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECECA5 #A5A5EC
analogous
#ECC8A5 #ECECA5 #C8ECA5
triadic
#ECECA5 #A5ECEC #ECA5EC
tetradic
#ECECA5 #A5ECC8 #A5A5EC #ECA5C8
square
#ECECA5 #A5ECC8 #A5A5EC #ECA5C8
split-complementary
#ECECA5 #A5C8EC #C8A5EC
monochromatic
#D7D740 #E1E172 #ECECA5 #F7F7D8 #FAFAE6

Accessibility & contrast

On white

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

On black

17.11
#ECECA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECECA5
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECECA5#FFFFFF#000000##000000
##ECECA51.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E6A0
Deuteranopia (green-blind)
#F9E9A8
Tritanopia (blue-blind)
#F6E3DA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ececa5;
/* rgb */ color: rgb(236, 236, 165);
/* oklch */ color: oklch(92.7% 0.090 108.0);
Tailwind
colors: {
  custom: {
    50: '#f3f2c0',
    500: '#ececa5',
    950: '#000000',
  },
}
SCSS
$custom: #ececa5;
$custom-light: #f3f2c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ececa5",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 165
  },
  "hsl": {
    "h": 60,
    "s": 65.138,
    "l": 78.627
  },
  "oklch": {
    "l": 0.92663,
    "c": 0.09048,
    "h": 108
  },
  "luminance": 0.8054
}

Semantic roles & 50–950 ramp

primary
#ECECA5
secondary
#6D6DC8
accent
#19CD19
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #ECECA5

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

Preview Lab → · Contrast checker → · Palette generator →

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