#ECF8A6#ECF8A6

#ECF8A6 is a very light, moderate yellow. Relative luminance 0.877; OKLCH L 95.1% C 0.104 H 115.2°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#ECF8A6
RGBrgb(236, 248, 166)
HSLhsl(69, 85%, 81%)
HSVhsv(69, 33%, 97%)
CMYKcmyk(4.8%, 0%, 33.1%, 2.7%)
CIE-LABlab(95.04, -16.51, 38.14)
CIE-LCHlch(95.04, 41.56, 113.41°)
OKLaboklab(95.15% -0.0445 0.0945)
OKLCHoklch(95.15% 0.104 115.2)
XYZxyz(75.0425, 87.7215, 49.0477)
Luminance0.8772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF8A6 #B2A6F8
analogous
#F8DBA6 #ECF8A6 #C3F8A6
triadic
#ECF8A6 #A6ECF8 #F8A6EC
tetradic
#ECF8A6 #A6F8DB #B2A6F8 #F8A6C3
square
#ECF8A6 #A6F8DB #B2A6F8 #F8A6C3
split-complementary
#ECF8A6 #A6C3F8 #DBA6F8
monochromatic
#D4EF35 #E0F46D #ECF8A6 #F8FCDF #F9FDE3

Accessibility & contrast

On white

1.13
#ECF8A6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.54
#ECF8A6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF8A6
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF8A6#FFFFFF#000000##000000
##ECF8A61.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF0A0
Deuteranopia (green-blind)
#FFF2AA
Tritanopia (blue-blind)
#F5EFE3
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecf8a6;
/* rgb */ color: rgb(236, 248, 166);
/* oklch */ color: oklch(95.1% 0.104 115.2);
Tailwind
colors: {
  custom: {
    50: '#f3fac1',
    500: '#ecf8a6',
    950: '#000000',
  },
}
SCSS
$custom: #ecf8a6;
$custom-light: #f3fac1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf8a6",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 166
  },
  "hsl": {
    "h": 68.78,
    "s": 85.417,
    "l": 81.176
  },
  "oklch": {
    "l": 0.95145,
    "c": 0.10446,
    "h": 115.2
  },
  "luminance": 0.87721
}

Semantic roles & 50–950 ramp

primary
#ECF8A6
secondary
#7969D9
accent
#04E224
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171712
muted
#858582

Preview Lab

Preview with #ECF8A6

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

Preview Lab → · Contrast checker → · Palette generator →

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