#ECF2A3#ECF2A3

#ECF2A3 is a very light, moderate yellow. Relative luminance 0.840; OKLCH L 93.9% C 0.100 H 111.8°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#ECF2A3
RGBrgb(236, 242, 163)
HSLhsl(65, 75%, 79%)
HSVhsv(65, 33%, 95%)
CMYKcmyk(2.5%, 0%, 32.6%, 5.1%)
CIE-LABlab(93.44, -13.94, 37.53)
CIE-LCHlch(93.44, 40.04, 110.37°)
OKLaboklab(93.86% -0.0373 0.093)
OKLCHoklch(93.86% 0.1 111.8)
XYZxyz(72.9554, 83.9824, 47.0102)
Luminance0.8398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF2A3 #A9A3F2
analogous
#F2D1A3 #ECF2A3 #C5F2A3
triadic
#ECF2A3 #A3ECF2 #F2A3EC
tetradic
#ECF2A3 #A3F2D1 #A9A3F2 #F2A3C5
square
#ECF2A3 #A3F2D1 #A9A3F2 #F2A3C5
split-complementary
#ECF2A3 #A3C5F2 #D1A3F2
monochromatic
#D6E338 #E1EA6D #ECF2A3 #F7FAD9 #F9FBE4

Accessibility & contrast

On white

1.18
#ECF2A3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.80
#ECF2A3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF2A3
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF2A3#FFFFFF#000000##000000
##ECF2A31.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEB9D
Deuteranopia (green-blind)
#FEEDA6
Tritanopia (blue-blind)
#F6E9DE
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf2a3;
/* rgb */ color: rgb(236, 242, 163);
/* oklch */ color: oklch(93.9% 0.100 111.8);
Tailwind
colors: {
  custom: {
    50: '#f3f6bf',
    500: '#ecf2a3',
    950: '#000000',
  },
}
SCSS
$custom: #ecf2a3;
$custom-light: #f3f6bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf2a3",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 163
  },
  "hsl": {
    "h": 64.557,
    "s": 75.238,
    "l": 79.412
  },
  "oklch": {
    "l": 0.93856,
    "c": 0.10021,
    "h": 111.8
  },
  "luminance": 0.83981
}

Semantic roles & 50–950 ramp

primary
#ECF2A3
secondary
#7169D0
accent
#0ED71D
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171712
muted
#858582

Preview Lab

Preview with #ECF2A3

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

Preview Lab → · Contrast checker → · Palette generator →

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