#ECF766#ECF766

#ECF766 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.1% C 0.167 H 113.2°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#ECF766
RGBrgb(236, 247, 102)
HSLhsl(65, 90%, 68%)
HSVhsv(65, 59%, 97%)
CMYKcmyk(4.5%, 0%, 58.7%, 3.1%)
CIE-LABlab(94.02, -22.14, 66.68)
CIE-LCHlch(94.02, 70.26, 108.37°)
OKLaboklab(94.08% -0.0657 0.1532)
OKLCHoklch(94.08% 0.167 113.2)
XYZxyz(70.2528, 85.3150, 25.3344)
Luminance0.8531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF766 #7166F7
analogous
#F7B966 #ECF766 #A3F766
triadic
#ECF766 #66ECF7 #F766EC
tetradic
#ECF766 #66F7B9 #7166F7 #F766A3
square
#ECF766 #66F7B9 #7166F7 #F766A3
split-complementary
#ECF766 #66A3F7 #B966F7
monochromatic
#C8D70B #E5F42C #ECF766 #F3FAA0 #FAFDDA

Accessibility & contrast

On white

1.16
#ECF766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.06
#ECF766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF766
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF766#FFFFFF#000000##000000
##ECF7661.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC55
Deuteranopia (green-blind)
#FFEF6F
Tritanopia (blue-blind)
#FAEAD8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf766;
/* rgb */ color: rgb(236, 247, 102);
/* oklch */ color: oklch(94.1% 0.167 113.2);
Tailwind
colors: {
  custom: {
    50: '#f5f997',
    500: '#ecf766',
    950: '#000000',
  },
}
SCSS
$custom: #ecf766;
$custom-light: #f5f997;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf766",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 102
  },
  "hsl": {
    "h": 64.552,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94079,
    "c": 0.16673,
    "h": 113.2
  },
  "luminance": 0.85314
}

Semantic roles & 50–950 ramp

primary
#ECF766
secondary
#3D31D0
accent
#00E611
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF766

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

Preview Lab → · Contrast checker → · Palette generator →

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