#ECEFA6#ECEFA6

#ECEFA6 is a very light, moderate yellow. Relative luminance 0.823; OKLCH L 93.3% C 0.093 H 110.1°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#ECEFA6
RGBrgb(236, 239, 166)
HSLhsl(62, 70%, 79%)
HSVhsv(62, 31%, 94%)
CMYKcmyk(1.3%, 0%, 30.5%, 6.3%)
CIE-LABlab(92.72, -12.09, 35.07)
CIE-LCHlch(92.72, 37.10, 109.02°)
OKLaboklab(93.29% -0.0319 0.0873)
OKLCHoklch(93.29% 0.093 110.1)
XYZxyz(72.3418, 82.3201, 48.1474)
Luminance0.8232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEFA6 #A9A6EF
analogous
#EFCEA6 #ECEFA6 #C8EFA6
triadic
#ECEFA6 #A6ECEF #EFA6EC
tetradic
#ECEFA6 #A6EFCE #A9A6EF #EFA6C8
square
#ECEFA6 #A6EFCE #A9A6EF #EFA6C8
split-complementary
#ECEFA6 #A6C8EF #CEA6EF
monochromatic
#D6DC3E #E1E672 #ECEFA6 #F7F8DA #F9FAE5

Accessibility & contrast

On white

1.20
#ECEFA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#ECEFA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEFA6
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEFA6#FFFFFF#000000##000000
##ECEFA61.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE9A1
Deuteranopia (green-blind)
#FBEBA9
Tritanopia (blue-blind)
#F6E6DC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecefa6;
/* rgb */ color: rgb(236, 239, 166);
/* oklch */ color: oklch(93.3% 0.093 110.1);
Tailwind
colors: {
  custom: {
    50: '#f3f4c1',
    500: '#ecefa6',
    950: '#000000',
  },
}
SCSS
$custom: #ecefa6;
$custom-light: #f3f4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecefa6",
  "rgb": {
    "r": 236,
    "g": 239,
    "b": 166
  },
  "hsl": {
    "h": 62.466,
    "s": 69.524,
    "l": 79.412
  },
  "oklch": {
    "l": 0.93294,
    "c": 0.09297,
    "h": 110.1
  },
  "luminance": 0.82319
}

Semantic roles & 50–950 ramp

primary
#ECEFA6
secondary
#716DCC
accent
#14D21C
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171712
muted
#858582

Preview Lab

Preview with #ECEFA6

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

Preview Lab → · Contrast checker → · Palette generator →

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