#ECEFA5#ECEFA5

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

Color values

HEX#ECEFA5
RGBrgb(236, 239, 165)
HSLhsl(62, 70%, 79%)
HSVhsv(62, 31%, 94%)
CMYKcmyk(1.3%, 0%, 31%, 6.3%)
CIE-LABlab(92.70, -12.21, 35.55)
CIE-LCHlch(92.70, 37.59, 108.96°)
OKLaboklab(93.28% -0.0323 0.0884)
OKLCHoklch(93.28% 0.094 110.1)
XYZxyz(72.2504, 82.2835, 47.6662)
Luminance0.8228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEFA5 #A8A5EF
analogous
#EFCDA5 #ECEFA5 #C7EFA5
triadic
#ECEFA5 #A5ECEF #EFA5EC
tetradic
#ECEFA5 #A5EFCD #A8A5EF #EFA5C7
square
#ECEFA5 #A5EFCD #A8A5EF #EFA5C7
split-complementary
#ECEFA5 #A5C7EF #CDA5EF
monochromatic
#D6DD3D #E1E671 #ECEFA5 #F7F8D9 #FAFAE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECEFA5#FFFFFF#000000##000000
##ECEFA51.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)
#FAE9A0
Deuteranopia (green-blind)
#FBEBA8
Tritanopia (blue-blind)
#F6E6DC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecefa5;
/* rgb */ color: rgb(236, 239, 165);
/* oklch */ color: oklch(93.3% 0.094 110.1);
Tailwind
colors: {
  custom: {
    50: '#f3f4c0',
    500: '#ecefa5',
    950: '#000000',
  },
}
SCSS
$custom: #ecefa5;
$custom-light: #f3f4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecefa5",
  "rgb": {
    "r": 236,
    "g": 239,
    "b": 165
  },
  "hsl": {
    "h": 62.432,
    "s": 69.811,
    "l": 79.216
  },
  "oklch": {
    "l": 0.93276,
    "c": 0.09414,
    "h": 110.1
  },
  "luminance": 0.82282
}

Semantic roles & 50–950 ramp

primary
#ECEFA5
secondary
#706CCC
accent
#14D21B
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171712
muted
#858582

Preview Lab

Preview with #ECEFA5

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

Preview Lab → · Contrast checker → · Palette generator →

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