#ECF078#ECF078

#ECF078 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.8% C 0.143 H 110.6°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#ECF078
RGBrgb(236, 240, 120)
HSLhsl(62, 80%, 71%)
HSVhsv(62, 50%, 94%)
CMYKcmyk(1.7%, 0%, 50%, 5.9%)
CIE-LABlab(92.36, -17.38, 56.89)
CIE-LCHlch(92.36, 59.49, 106.99°)
OKLaboklab(92.81% -0.0504 0.1341)
OKLCHoklch(92.81% 0.143 110.6)
XYZxyz(69.1438, 81.5106, 29.8564)
Luminance0.8151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF078 #7C78F0
analogous
#F0B878 #ECF078 #B0F078
triadic
#ECF078 #78ECF0 #F078EC
tetradic
#ECF078 #78F0B8 #7C78F0 #F078B0
square
#ECF078 #78F0B8 #7C78F0 #F078B0
split-complementary
#ECF078 #78B0F0 #B878F0
monochromatic
#D0D618 #E4EA41 #ECF078 #F4F6AF #FBFCE3

Accessibility & contrast

On white

1.21
#ECF078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.30
#ECF078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF078
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF078#FFFFFF#000000##000000
##ECF0781.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FFEB7E
Tritanopia (blue-blind)
#FAE4D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf078;
/* rgb */ color: rgb(236, 240, 120);
/* oklch */ color: oklch(92.8% 0.143 110.6);
Tailwind
colors: {
  custom: {
    50: '#f4f4a2',
    500: '#ecf078',
    950: '#000000',
  },
}
SCSS
$custom: #ecf078;
$custom-light: #f4f4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf078",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 120
  },
  "hsl": {
    "h": 62,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92809,
    "c": 0.14331,
    "h": 110.6
  },
  "luminance": 0.81509
}

Semantic roles & 50–950 ramp

primary
#ECF078
secondary
#4742CA
accent
#09DC10
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF078

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

Preview Lab → · Contrast checker → · Palette generator →

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