#ECEFA4#ECEFA4

#ECEFA4 is a very light, moderate yellow. Relative luminance 0.822; OKLCH L 93.3% C 0.095 H 110.0°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#ECEFA4
RGBrgb(236, 239, 164)
HSLhsl(62, 70%, 79%)
HSVhsv(62, 31%, 94%)
CMYKcmyk(1.3%, 0%, 31.4%, 6.3%)
CIE-LABlab(92.68, -12.33, 36.03)
CIE-LCHlch(92.68, 38.09, 108.90°)
OKLaboklab(93.26% -0.0327 0.0895)
OKLCHoklch(93.26% 0.095 110)
XYZxyz(72.1598, 82.2473, 47.1887)
Luminance0.8225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEFA4 #A7A4EF
analogous
#EFCDA4 #ECEFA4 #C7EFA4
triadic
#ECEFA4 #A4ECEF #EFA4EC
tetradic
#ECEFA4 #A4EFCD #A7A4EF #EFA4C7
square
#ECEFA4 #A4EFCD #A7A4EF #EFA4C7
split-complementary
#ECEFA4 #A4C7EF #CDA4EF
monochromatic
#D6DD3C #E1E670 #ECEFA4 #F7F8D8 #FAFAE5

Accessibility & contrast

On white

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

On black

17.45
#ECEFA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEFA4
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEFA4#FFFFFF#000000##000000
##ECEFA41.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecefa4;
/* rgb */ color: rgb(236, 239, 164);
/* oklch */ color: oklch(93.3% 0.095 110.0);
Tailwind
colors: {
  custom: {
    50: '#f3f4bf',
    500: '#ecefa4',
    950: '#000000',
  },
}
SCSS
$custom: #ecefa4;
$custom-light: #f3f4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ecefa4",
  "rgb": {
    "r": 236,
    "g": 239,
    "b": 164
  },
  "hsl": {
    "h": 62.4,
    "s": 70.093,
    "l": 79.02
  },
  "oklch": {
    "l": 0.93258,
    "c": 0.0953,
    "h": 110
  },
  "luminance": 0.82246
}

Semantic roles & 50–950 ramp

primary
#ECEFA4
secondary
#6F6BCC
accent
#13D21B
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171712
muted
#858582

Preview Lab

Preview with #ECEFA4

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

Preview Lab → · Contrast checker → · Palette generator →

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