#ECFD5A#ECFD5A

#ECFD5A is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.2% C 0.182 H 115.0°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#ECFD5A
RGBrgb(236, 253, 90)
HSLhsl(66, 98%, 67%)
HSVhsv(66, 64%, 99%)
CMYKcmyk(6.7%, 0%, 64.4%, 0.8%)
CIE-LABlab(95.51, -25.76, 73.06)
CIE-LCHlch(95.51, 77.47, 109.42°)
OKLaboklab(95.24% -0.077 0.1651)
OKLCHoklch(95.24% 0.182 115)
XYZxyz(71.5646, 88.8228, 23.0454)
Luminance0.8882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD5A #6B5AFD
analogous
#FDBD5A #ECFD5A #9AFD5A
triadic
#ECFD5A #5AECFD #FD5AEC
tetradic
#ECFD5A #5AFDBD #6B5AFD #FD5A9A
square
#ECFD5A #5AFDBD #6B5AFD #FD5A9A
split-complementary
#ECFD5A #5A9AFD #BD5AFD
monochromatic
#C4DA03 #E5FC1E #ECFD5A #F3FE96 #FAFED3

Accessibility & contrast

On white

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

On black

18.76
#ECFD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFD5A
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFD5A#FFFFFF#000000##000000
##ECFD5A1.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfd5a;
/* rgb */ color: rgb(236, 253, 90);
/* oklch */ color: oklch(95.2% 0.182 115.0);
Tailwind
colors: {
  custom: {
    50: '#f5fe90',
    500: '#ecfd5a',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd5a;
$custom-light: #f5fe90;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd5a",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 90
  },
  "hsl": {
    "h": 66.258,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.9524,
    "c": 0.18223,
    "h": 115
  },
  "luminance": 0.88822
}

Semantic roles & 50–950 ramp

primary
#ECFD5A
secondary
#3A28D3
accent
#00E618
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECFD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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