#ECFD5D#ECFD5D

#ECFD5D is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.3% C 0.180 H 115.0°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#ECFD5D
RGBrgb(236, 253, 93)
HSLhsl(66, 98%, 68%)
HSVhsv(66, 63%, 99%)
CMYKcmyk(6.7%, 0%, 63.2%, 0.8%)
CIE-LABlab(95.53, -25.58, 71.93)
CIE-LCHlch(95.53, 76.34, 109.57°)
OKLaboklab(95.26% -0.0762 0.1632)
OKLCHoklch(95.26% 0.18 115)
XYZxyz(71.6948, 88.8749, 23.7316)
Luminance0.8887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD5D #6E5DFD
analogous
#FDBE5D #ECFD5D #9CFD5D
triadic
#ECFD5D #5DECFD #FD5DEC
tetradic
#ECFD5D #5DFDBE #6E5DFD #FD5D9C
square
#ECFD5D #5DFDBE #6E5DFD #FD5D9C
split-complementary
#ECFD5D #5D9CFD #BE5DFD
monochromatic
#C6DD03 #E5FC21 #ECFD5D #F3FE99 #FAFED6

Accessibility & contrast

On white

1.12
#ECFD5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.77
#ECFD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFD5D
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFD5D#FFFFFF#000000##000000
##ECFD5D1.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF148
Deuteranopia (green-blind)
#FFF468
Tritanopia (blue-blind)
#FAEFDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfd5d;
/* rgb */ color: rgb(236, 253, 93);
/* oklch */ color: oklch(95.3% 0.180 115.0);
Tailwind
colors: {
  custom: {
    50: '#f5fe92',
    500: '#ecfd5d',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd5d;
$custom-light: #f5fe92;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd5d",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 93
  },
  "hsl": {
    "h": 66.375,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.95264,
    "c": 0.18011,
    "h": 115
  },
  "luminance": 0.88874
}

Semantic roles & 50–950 ramp

primary
#ECFD5D
secondary
#3B28D6
accent
#00E618
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECFD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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