#ECF478#ECF478

#ECF478 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.6% C 0.148 H 112.2°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#ECF478
RGBrgb(236, 244, 120)
HSLhsl(64, 85%, 71%)
HSVhsv(64, 51%, 96%)
CMYKcmyk(3.3%, 0%, 50.8%, 4.3%)
CIE-LABlab(93.40, -19.32, 58.12)
CIE-LCHlch(93.40, 61.25, 108.38°)
OKLaboklab(93.64% -0.0559 0.1368)
OKLCHoklch(93.64% 0.148 112.2)
XYZxyz(70.3343, 83.8916, 30.2532)
Luminance0.8389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF478 #8078F4
analogous
#F4BE78 #ECF478 #AEF478
triadic
#ECF478 #78ECF4 #F478EC
tetradic
#ECF478 #78F4BE #8078F4 #F478AE
square
#ECF478 #78F4BE #8078F4 #F478AE
split-complementary
#ECF478 #78AEF4 #BE78F4
monochromatic
#D2DF12 #E4EF3F #ECF478 #F4F9B1 #FBFDE3

Accessibility & contrast

On white

1.18
#ECF478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.78
#ECF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF478
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF478#FFFFFF#000000##000000
##ECF4781.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FFEE7F
Tritanopia (blue-blind)
#F9E8D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf478;
/* rgb */ color: rgb(236, 244, 120);
/* oklch */ color: oklch(93.6% 0.148 112.2);
Tailwind
colors: {
  custom: {
    50: '#f4f7a2',
    500: '#ecf478',
    950: '#000000',
  },
}
SCSS
$custom: #ecf478;
$custom-light: #f4f7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf478",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 63.871,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93642,
    "c": 0.1478,
    "h": 112.2
  },
  "luminance": 0.8389
}

Semantic roles & 50–950 ramp

primary
#ECF478
secondary
#4B41CF
accent
#04E112
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF478

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

Preview Lab → · Contrast checker → · Palette generator →

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