#ECF266#ECF266

#ECF266 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.0% C 0.161 H 111.4°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#ECF266
RGBrgb(236, 242, 102)
HSLhsl(63, 84%, 67%)
HSVhsv(63, 58%, 95%)
CMYKcmyk(2.5%, 0%, 57.9%, 5.1%)
CIE-LABlab(92.71, -19.74, 65.23)
CIE-LCHlch(92.71, 68.15, 106.84°)
OKLaboklab(93.03% -0.059 0.1502)
OKLCHoklch(93.03% 0.161 111.4)
XYZxyz(68.7443, 82.2980, 24.8316)
Luminance0.8230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF266 #6C66F2
analogous
#F2B266 #ECF266 #A6F266
triadic
#ECF266 #66ECF2 #F266EC
tetradic
#ECF266 #66F2B2 #6C66F2 #F266A6
square
#ECF266 #66F2B2 #6C66F2 #F266A6
split-complementary
#ECF266 #66A6F2 #B266F2
monochromatic
#C4CC11 #E5ED2E #ECF266 #F3F79E #FAFCD7

Accessibility & contrast

On white

1.20
#ECF266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#ECF266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF266
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF266#FFFFFF#000000##000000
##ECF2661.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE856
Deuteranopia (green-blind)
#FFEC6E
Tritanopia (blue-blind)
#FBE5D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf266;
/* rgb */ color: rgb(236, 242, 102);
/* oklch */ color: oklch(93.0% 0.161 111.4);
Tailwind
colors: {
  custom: {
    50: '#f5f697',
    500: '#ecf266',
    950: '#000000',
  },
}
SCSS
$custom: #ecf266;
$custom-light: #f5f697;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf266",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 62.571,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.9303,
    "c": 0.16133,
    "h": 111.4
  },
  "luminance": 0.82296
}

Semantic roles & 50–950 ramp

primary
#ECF266
secondary
#3A34C9
accent
#05E10E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF266

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

Preview Lab → · Contrast checker → · Palette generator →

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