#ECF896#ECF896

#ECF896 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 94.9% C 0.122 H 114.5°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#ECF896
RGBrgb(236, 248, 150)
HSLhsl(67, 88%, 78%)
HSVhsv(67, 40%, 97%)
CMYKcmyk(4.8%, 0%, 39.5%, 2.7%)
CIE-LABlab(94.81, -18.35, 45.70)
CIE-LCHlch(94.81, 49.25, 111.88°)
OKLaboklab(94.88% -0.0507 0.1113)
OKLCHoklch(94.88% 0.122 114.5)
XYZxyz(73.6651, 87.1705, 41.7932)
Luminance0.8717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF896 #A296F8
analogous
#F8D396 #ECF896 #BBF896
triadic
#ECF896 #96ECF8 #F896EC
tetradic
#ECF896 #96F8D3 #A296F8 #F896BB
square
#ECF896 #96F8D3 #A296F8 #F896BB
split-complementary
#ECF896 #96BBF8 #D396F8
monochromatic
#D7F023 #E2F45D #ECF896 #F6FCCF #FAFDE2

Accessibility & contrast

On white

1.14
#ECF896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.43
#ECF896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF896
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF896#FFFFFF#000000##000000
##ECF8961.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8E
Deuteranopia (green-blind)
#FFF19B
Tritanopia (blue-blind)
#F7EEE0
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf896;
/* rgb */ color: rgb(236, 248, 150);
/* oklch */ color: oklch(94.9% 0.122 114.5);
Tailwind
colors: {
  custom: {
    50: '#f3fab6',
    500: '#ecf896',
    950: '#000000',
  },
}
SCSS
$custom: #ecf896;
$custom-light: #f3fab6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf896",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 150
  },
  "hsl": {
    "h": 67.347,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.94883,
    "c": 0.12231,
    "h": 114.5
  },
  "luminance": 0.8717
}

Semantic roles & 50–950 ramp

primary
#ECF896
secondary
#6A5BD8
accent
#01E41D
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF896

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

Preview Lab → · Contrast checker → · Palette generator →

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