#ECF96C#ECF96C

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

Color values

HEX#ECF96C
RGBrgb(236, 249, 108)
HSLhsl(66, 92%, 70%)
HSVhsv(66, 57%, 98%)
CMYKcmyk(5.2%, 0%, 56.6%, 2.4%)
CIE-LABlab(94.60, -22.66, 64.78)
CIE-LCHlch(94.60, 68.63, 109.28°)
OKLaboklab(94.56% -0.0666 0.1499)
OKLCHoklch(94.56% 0.164 114)
XYZxyz(71.1761, 86.6682, 27.1636)
Luminance0.8667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF96C #796CF9
analogous
#F9C06C #ECF96C #A5F96C
triadic
#ECF96C #6CECF9 #F96CEC
tetradic
#ECF96C #6CF9C0 #796CF9 #F96CA5
square
#ECF96C #6CF9C0 #796CF9 #F96CA5
split-complementary
#ECF96C #6CA5F9 #C06CF9
monochromatic
#CDE109 #E4F731 #ECF96C #F4FBA7 #FBFEE2

Accessibility & contrast

On white

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

On black

18.33
#ECF96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF96C
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF96C#FFFFFF#000000##000000
##ECF96C1.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5D
Deuteranopia (green-blind)
#FFF174
Tritanopia (blue-blind)
#FAECDA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf96c;
/* rgb */ color: rgb(236, 249, 108);
/* oklch */ color: oklch(94.6% 0.164 114.0);
Tailwind
colors: {
  custom: {
    50: '#f5fb9b',
    500: '#ecf96c',
    950: '#000000',
  },
}
SCSS
$custom: #ecf96c;
$custom-light: #f5fb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf96c",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 108
  },
  "hsl": {
    "h": 65.532,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.94559,
    "c": 0.16404,
    "h": 114
  },
  "luminance": 0.86667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECF96C

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

Preview Lab → · Contrast checker → · Palette generator →

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