#ECF96D#ECF96D

#ECF96D is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.6% C 0.163 H 114.0°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#ECF96D
RGBrgb(236, 249, 109)
HSLhsl(66, 92%, 70%)
HSVhsv(66, 56%, 98%)
CMYKcmyk(5.2%, 0%, 56.2%, 2.4%)
CIE-LABlab(94.61, -22.59, 64.36)
CIE-LCHlch(94.61, 68.21, 109.34°)
OKLaboklab(94.57% -0.0663 0.1491)
OKLCHoklch(94.57% 0.163 114)
XYZxyz(71.2296, 86.6896, 27.4455)
Luminance0.8669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF96D #7A6DF9
analogous
#F9C06D #ECF96D #A6F96D
triadic
#ECF96D #6DECF9 #F96DEC
tetradic
#ECF96D #6DF9C0 #7A6DF9 #F96DA6
square
#ECF96D #6DF9C0 #7A6DF9 #F96DA6
split-complementary
#ECF96D #6DA6F9 #C06DF9
monochromatic
#CEE209 #E4F732 #ECF96D #F4FBA8 #FBFEE2

Accessibility & contrast

On white

1.15
#ECF96D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.34
#ECF96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF96D
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF96D#FFFFFF#000000##000000
##ECF96D1.001.1518.3418.34
#FFFFFF1.151.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5E
Deuteranopia (green-blind)
#FFF175
Tritanopia (blue-blind)
#FAECDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf96d;
/* rgb */ color: rgb(236, 249, 109);
/* oklch */ color: oklch(94.6% 0.163 114.0);
Tailwind
colors: {
  custom: {
    50: '#f5fb9b',
    500: '#ecf96d',
    950: '#000000',
  },
}
SCSS
$custom: #ecf96d;
$custom-light: #f5fb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf96d",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 109
  },
  "hsl": {
    "h": 65.571,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.94569,
    "c": 0.1632,
    "h": 114
  },
  "luminance": 0.86688
}

Semantic roles & 50–950 ramp

primary
#ECF96D
secondary
#4537D4
accent
#00E615
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF96D

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

Preview Lab → · Contrast checker → · Palette generator →

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