#ECF96B#ECF96B

#ECF96B is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.5% C 0.165 H 113.9°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#ECF96B
RGBrgb(236, 249, 107)
HSLhsl(65, 92%, 70%)
HSVhsv(65, 57%, 98%)
CMYKcmyk(5.2%, 0%, 57%, 2.4%)
CIE-LABlab(94.59, -22.74, 65.20)
CIE-LCHlch(94.59, 69.05, 109.23°)
OKLaboklab(94.55% -0.0669 0.1507)
OKLCHoklch(94.55% 0.165 113.9)
XYZxyz(71.1231, 86.6470, 26.8849)
Luminance0.8665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF96B #786BF9
analogous
#F9BF6B #ECF96B #A5F96B
triadic
#ECF96B #6BECF9 #F96BEC
tetradic
#ECF96B #6BF9BF #786BF9 #F96BA5
square
#ECF96B #6BF9BF #786BF9 #F96BA5
split-complementary
#ECF96B #6BA5F9 #BF6BF9
monochromatic
#CDE009 #E4F730 #ECF96B #F4FBA6 #FBFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF96B#FFFFFF#000000##000000
##ECF96B1.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)
#FFEE5C
Deuteranopia (green-blind)
#FFF174
Tritanopia (blue-blind)
#FAECDA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf96b;
/* rgb */ color: rgb(236, 249, 107);
/* oklch */ color: oklch(94.5% 0.165 113.9);
Tailwind
colors: {
  custom: {
    50: '#f5fb9a',
    500: '#ecf96b',
    950: '#000000',
  },
}
SCSS
$custom: #ecf96b;
$custom-light: #f5fb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf96b",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 107
  },
  "hsl": {
    "h": 65.493,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94549,
    "c": 0.16488,
    "h": 113.9
  },
  "luminance": 0.86646
}

Semantic roles & 50–950 ramp

primary
#ECF96B
secondary
#4335D3
accent
#00E615
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF96B

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

Preview Lab → · Contrast checker → · Palette generator →

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