#ECF54E#ECF54E

#ECF54E is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.5% C 0.182 H 112.5°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#ECF54E
RGBrgb(236, 245, 78)
HSLhsl(63, 89%, 63%)
HSVhsv(63, 68%, 96%)
CMYKcmyk(3.7%, 0%, 68.2%, 3.9%)
CIE-LABlab(93.32, -22.64, 75.27)
CIE-LCHlch(93.32, 78.60, 106.74°)
OKLaboklab(93.46% -0.0694 0.168)
OKLCHoklch(93.46% 0.182 112.5)
XYZxyz(68.6217, 83.6893, 19.7451)
Luminance0.8369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF54E #574EF5
analogous
#F5AB4E #ECF54E #98F54E
triadic
#ECF54E #4EECF5 #F54EEC
tetradic
#ECF54E #4EF5AB #574EF5 #F54E98
square
#ECF54E #4EF5AB #574EF5 #F54E98
split-complementary
#ECF54E #4E98F5 #AB4EF5
monochromatic
#B4BE0B #E6F214 #ECF54E #F2F888 #F8FCC2

Accessibility & contrast

On white

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

On black

17.74
#ECF54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF54E
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF54E#FFFFFF#000000##000000
##ECF54E1.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA33
Deuteranopia (green-blind)
#FFEE5A
Tritanopia (blue-blind)
#FCE7D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf54e;
/* rgb */ color: rgb(236, 245, 78);
/* oklch */ color: oklch(93.5% 0.182 112.5);
Tailwind
colors: {
  custom: {
    50: '#f6f889',
    500: '#ecf54e',
    950: '#000000',
  },
}
SCSS
$custom: #ecf54e;
$custom-light: #f6f889;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf54e",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 78
  },
  "hsl": {
    "h": 63.234,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.93459,
    "c": 0.18177,
    "h": 112.5
  },
  "luminance": 0.83688
}

Semantic roles & 50–950 ramp

primary
#ECF54E
secondary
#332BBC
accent
#00E60C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #ECF54E

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

Preview Lab → · Contrast checker → · Palette generator →

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