#ECF296#ECF296

#ECF296 is a very light, moderate yellow. Relative luminance 0.835; OKLCH L 93.6% C 0.115 H 111.6°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#ECF296
RGBrgb(236, 242, 150)
HSLhsl(64, 78%, 77%)
HSVhsv(64, 38%, 95%)
CMYKcmyk(2.5%, 0%, 38%, 5.1%)
CIE-LABlab(93.25, -15.43, 43.72)
CIE-LCHlch(93.25, 46.36, 109.44°)
OKLaboklab(93.64% -0.0423 0.1068)
OKLCHoklch(93.64% 0.115 111.6)
XYZxyz(71.8499, 83.5402, 41.1881)
Luminance0.8354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF296 #9C96F2
analogous
#F2CA96 #ECF296 #BEF296
triadic
#ECF296 #96ECF2 #F296EC
tetradic
#ECF296 #96F2CA #9C96F2 #F296BE
square
#ECF296 #96F2CA #9C96F2 #F296BE
split-complementary
#ECF296 #96BEF2 #CA96F2
monochromatic
#D8E529 #E2EB60 #ECF296 #F6F9CC #FAFCE4

Accessibility & contrast

On white

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

On black

17.71
#ECF296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF296
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF296#FFFFFF#000000##000000
##ECF2961.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA8F
Deuteranopia (green-blind)
#FFED9A
Tritanopia (blue-blind)
#F7E8DB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf296;
/* rgb */ color: rgb(236, 242, 150);
/* oklch */ color: oklch(93.6% 0.115 111.6);
Tailwind
colors: {
  custom: {
    50: '#f3f6b6',
    500: '#ecf296',
    950: '#000000',
  },
}
SCSS
$custom: #ecf296;
$custom-light: #f3f6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf296",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 150
  },
  "hsl": {
    "h": 63.913,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.9364,
    "c": 0.11488,
    "h": 111.6
  },
  "luminance": 0.83539
}

Semantic roles & 50–950 ramp

primary
#ECF296
secondary
#645DCF
accent
#0BDA19
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF296

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

Preview Lab → · Contrast checker → · Palette generator →

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