#ECF366#ECF366

#ECF366 is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.2% C 0.162 H 111.8°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#ECF366
RGBrgb(236, 243, 102)
HSLhsl(63, 85%, 68%)
HSVhsv(63, 58%, 95%)
CMYKcmyk(2.9%, 0%, 58%, 4.7%)
CIE-LABlab(92.97, -20.23, 65.52)
CIE-LCHlch(92.97, 68.57, 107.16°)
OKLaboklab(93.24% -0.0603 0.1508)
OKLCHoklch(93.24% 0.162 111.8)
XYZxyz(69.0427, 82.8949, 24.9311)
Luminance0.8289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF366 #6D66F3
analogous
#F3B466 #ECF366 #A5F366
triadic
#ECF366 #66ECF3 #F366EC
tetradic
#ECF366 #66F3B4 #6D66F3 #F366A5
square
#ECF366 #66F3B4 #6D66F3 #F366A5
split-complementary
#ECF366 #66A5F3 #B466F3
monochromatic
#C5CE10 #E5EF2D #ECF366 #F3F79F #FAFCD7

Accessibility & contrast

On white

1.19
#ECF366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.58
#ECF366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF366
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF366#FFFFFF#000000##000000
##ECF3661.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE956
Deuteranopia (green-blind)
#FFED6E
Tritanopia (blue-blind)
#FBE6D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf366;
/* rgb */ color: rgb(236, 243, 102);
/* oklch */ color: oklch(93.2% 0.162 111.8);
Tailwind
colors: {
  custom: {
    50: '#f5f697',
    500: '#ecf366',
    950: '#000000',
  },
}
SCSS
$custom: #ecf366;
$custom-light: #f5f697;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf366",
  "rgb": {
    "r": 236,
    "g": 243,
    "b": 102
  },
  "hsl": {
    "h": 62.979,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.93239,
    "c": 0.1624,
    "h": 111.8
  },
  "luminance": 0.82893
}

Semantic roles & 50–950 ramp

primary
#ECF366
secondary
#3A33CA
accent
#04E20F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF366

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

Preview Lab → · Contrast checker → · Palette generator →

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