#ECF678#ECF678

#ECF678 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.1% C 0.150 H 113.0°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#ECF678
RGBrgb(236, 246, 120)
HSLhsl(65, 88%, 72%)
HSVhsv(65, 51%, 96%)
CMYKcmyk(4.1%, 0%, 51.2%, 3.5%)
CIE-LABlab(93.93, -20.28, 58.73)
CIE-LCHlch(93.93, 62.13, 109.05°)
OKLaboklab(94.06% -0.0587 0.1381)
OKLCHoklch(94.06% 0.15 113)
XYZxyz(70.9394, 85.1017, 30.4549)
Luminance0.8510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF678 #8278F6
analogous
#F6C178 #ECF678 #ADF678
triadic
#ECF678 #78ECF6 #F678EC
tetradic
#ECF678 #78F6C1 #8278F6 #F678AD
square
#ECF678 #78F6C1 #8278F6 #F678AD
split-complementary
#ECF678 #78ADF6 #C178F6
monochromatic
#D3E40F #E4F23F #ECF678 #F4FAB1 #FBFDE2

Accessibility & contrast

On white

1.17
#ECF678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#ECF678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF678
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF678#FFFFFF#000000##000000
##ECF6781.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFEF7F
Tritanopia (blue-blind)
#F9EADA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf678;
/* rgb */ color: rgb(236, 246, 120);
/* oklch */ color: oklch(94.1% 0.150 113.0);
Tailwind
colors: {
  custom: {
    50: '#f4f9a2',
    500: '#ecf678',
    950: '#000000',
  },
}
SCSS
$custom: #ecf678;
$custom-light: #f4f9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf678",
  "rgb": {
    "r": 236,
    "g": 246,
    "b": 120
  },
  "hsl": {
    "h": 64.762,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.9406,
    "c": 0.15009,
    "h": 113
  },
  "luminance": 0.851
}

Semantic roles & 50–950 ramp

primary
#ECF678
secondary
#4C41D1
accent
#01E413
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF678

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

Preview Lab → · Contrast checker → · Palette generator →

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