#ECFD5C#ECFD5C

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

Color values

HEX#ECFD5C
RGBrgb(236, 253, 92)
HSLhsl(66, 98%, 68%)
HSVhsv(66, 64%, 99%)
CMYKcmyk(6.7%, 0%, 63.6%, 0.8%)
CIE-LABlab(95.52, -25.64, 72.31)
CIE-LCHlch(95.52, 76.72, 109.52°)
OKLaboklab(95.26% -0.0765 0.1638)
OKLCHoklch(95.26% 0.181 115)
XYZxyz(71.6508, 88.8573, 23.4998)
Luminance0.8886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD5C #6D5CFD
analogous
#FDBD5C #ECFD5C #9CFD5C
triadic
#ECFD5C #5CECFD #FD5CEC
tetradic
#ECFD5C #5CFDBD #6D5CFD #FD5C9C
square
#ECFD5C #5CFDBD #6D5CFD #FD5C9C
split-complementary
#ECFD5C #5C9CFD #BD5CFD
monochromatic
#C5DC03 #E5FC20 #ECFD5C #F3FE98 #FAFED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFD5C#FFFFFF#000000##000000
##ECFD5C1.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)
#FFF146
Deuteranopia (green-blind)
#FFF467
Tritanopia (blue-blind)
#FAEFDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfd5c;
/* rgb */ color: rgb(236, 253, 92);
/* oklch */ color: oklch(95.3% 0.181 115.0);
Tailwind
colors: {
  custom: {
    50: '#f5fe91',
    500: '#ecfd5c',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd5c;
$custom-light: #f5fe91;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd5c",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 92
  },
  "hsl": {
    "h": 66.335,
    "s": 97.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.95256,
    "c": 0.18082,
    "h": 115
  },
  "luminance": 0.88856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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