#ECFD93#ECFD93

#ECFD93 is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 95.9% C 0.132 H 116.4°. Best body text is #000000 at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#ECFD93
RGBrgb(236, 253, 147)
HSLhsl(70, 96%, 78%)
HSVhsv(70, 42%, 99%)
CMYKcmyk(6.7%, 0%, 41.9%, 0.8%)
CIE-LABlab(96.08, -21.08, 48.74)
CIE-LCHlch(96.08, 53.11, 113.39°)
OKLaboklab(95.88% -0.0586 0.118)
OKLCHoklch(95.88% 0.132 116.4)
XYZxyz(74.9844, 90.1907, 41.0565)
Luminance0.9019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD93 #A493FD
analogous
#FDD993 #ECFD93 #B7FD93
triadic
#ECFD93 #93ECFD #FD93EC
tetradic
#ECFD93 #93FDD9 #A493FD #FD93B7
square
#ECFD93 #93FDD9 #A493FD #FD93B7
split-complementary
#ECFD93 #93B7FD #D993FD
monochromatic
#D7FB1B #E1FC57 #ECFD93 #F7FECF #FAFEE1

Accessibility & contrast

On white

1.10
#ECFD93 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.04
#ECFD93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFD93
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFD93#FFFFFF#000000##000000
##ECFD931.001.1019.0419.04
#FFFFFF1.101.0021.0021.00
#00000019.0421.001.001.00
##00000019.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF38B
Deuteranopia (green-blind)
#FFF598
Tritanopia (blue-blind)
#F6F2E3
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecfd93;
/* rgb */ color: rgb(236, 253, 147);
/* oklch */ color: oklch(95.9% 0.132 116.4);
Tailwind
colors: {
  custom: {
    50: '#f3feb4',
    500: '#ecfd93',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd93;
$custom-light: #f3feb4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd93",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 147
  },
  "hsl": {
    "h": 69.623,
    "s": 96.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.9588,
    "c": 0.1318,
    "h": 116.4
  },
  "luminance": 0.9019
}

Semantic roles & 50–950 ramp

primary
#ECFD93
secondary
#6C56DE
accent
#00E625
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFD93

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

Preview Lab → · Contrast checker → · Palette generator →

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