#ECF196#ECF196

#ECF196 is a very light, moderate yellow. Relative luminance 0.829; OKLCH L 93.4% C 0.114 H 111.1°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#ECF196
RGBrgb(236, 241, 150)
HSLhsl(63, 76%, 77%)
HSVhsv(63, 38%, 95%)
CMYKcmyk(2.1%, 0%, 37.8%, 5.5%)
CIE-LABlab(92.99, -14.94, 43.39)
CIE-LCHlch(92.99, 45.89, 109.00°)
OKLaboklab(93.43% -0.0409 0.106)
OKLCHoklch(93.43% 0.114 111.1)
XYZxyz(71.5531, 82.9466, 41.0892)
Luminance0.8295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF196 #9B96F1
analogous
#F1C996 #ECF196 #BFF196
triadic
#ECF196 #96ECF1 #F196EC
tetradic
#ECF196 #96F1C9 #9B96F1 #F196BF
square
#ECF196 #96F1C9 #9B96F1 #F196BF
split-complementary
#ECF196 #96BFF1 #C996F1
monochromatic
#D8E32A #E2EA60 #ECF196 #F6F8CC #FAFBE4

Accessibility & contrast

On white

1.19
#ECF196 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.59
#ECF196 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF196
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF196#FFFFFF#000000##000000
##ECF1961.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE98F
Deuteranopia (green-blind)
#FFEC9A
Tritanopia (blue-blind)
#F7E7DB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf196;
/* rgb */ color: rgb(236, 241, 150);
/* oklch */ color: oklch(93.4% 0.114 111.1);
Tailwind
colors: {
  custom: {
    50: '#f3f5b6',
    500: '#ecf196',
    950: '#000000',
  },
}
SCSS
$custom: #ecf196;
$custom-light: #f3f5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf196",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 150
  },
  "hsl": {
    "h": 63.297,
    "s": 76.471,
    "l": 76.667
  },
  "oklch": {
    "l": 0.93434,
    "c": 0.11367,
    "h": 111.1
  },
  "luminance": 0.82945
}

Semantic roles & 50–950 ramp

primary
#ECF196
secondary
#635DCE
accent
#0DD918
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF196

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

Preview Lab → · Contrast checker → · Palette generator →

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