#ECF378#ECF378

#ECF378 is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.4% C 0.147 H 111.8°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#ECF378
RGBrgb(236, 243, 120)
HSLhsl(63, 84%, 71%)
HSVhsv(63, 51%, 95%)
CMYKcmyk(2.9%, 0%, 50.6%, 4.7%)
CIE-LABlab(93.14, -18.83, 57.81)
CIE-LCHlch(93.14, 60.80, 108.04°)
OKLaboklab(93.43% -0.0546 0.1361)
OKLCHoklch(93.43% 0.147 111.8)
XYZxyz(70.0342, 83.2915, 30.1532)
Luminance0.8329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF378 #7F78F3
analogous
#F3BC78 #ECF378 #AEF378
triadic
#ECF378 #78ECF3 #F378EC
tetradic
#ECF378 #78F3BC #7F78F3 #F378AE
square
#ECF378 #78F3BC #7F78F3 #F378AE
split-complementary
#ECF378 #78AEF3 #BC78F3
monochromatic
#D1DD14 #E4EE40 #ECF378 #F4F8B0 #FBFDE3

Accessibility & contrast

On white

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

On black

17.66
#ECF378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF378
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF378#FFFFFF#000000##000000
##ECF3781.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FFED7F
Tritanopia (blue-blind)
#F9E7D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf378;
/* rgb */ color: rgb(236, 243, 120);
/* oklch */ color: oklch(93.4% 0.147 111.8);
Tailwind
colors: {
  custom: {
    50: '#f4f6a2',
    500: '#ecf378',
    950: '#000000',
  },
}
SCSS
$custom: #ecf378;
$custom-light: #f4f6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf378",
  "rgb": {
    "r": 236,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 63.415,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93434,
    "c": 0.14667,
    "h": 111.8
  },
  "luminance": 0.8329
}

Semantic roles & 50–950 ramp

primary
#ECF378
secondary
#4A42CE
accent
#05E012
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF378

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

Preview Lab → · Contrast checker → · Palette generator →

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