#ECFD8F#ECFD8F

#ECFD8F is a very light, vivid yellow. Relative luminance 0.901; OKLCH L 95.8% C 0.136 H 116.2°. Best body text is #000000 at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#ECFD8F
RGBrgb(236, 253, 143)
HSLhsl(69, 96%, 78%)
HSVhsv(69, 43%, 99%)
CMYKcmyk(6.7%, 0%, 43.5%, 0.8%)
CIE-LABlab(96.02, -21.49, 50.59)
CIE-LCHlch(96.02, 54.96, 113.02°)
OKLaboklab(95.82% -0.0601 0.1219)
OKLCHoklch(95.82% 0.136 116.2)
XYZxyz(74.6759, 90.0673, 39.4321)
Luminance0.9007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD8F #A08FFD
analogous
#FDD78F #ECFD8F #B5FD8F
triadic
#ECFD8F #8FECFD #FD8FEC
tetradic
#ECFD8F #8FFDD7 #A08FFD #FD8FB5
square
#ECFD8F #8FFDD7 #A08FFD #FD8FB5
split-complementary
#ECFD8F #8FB5FD #D78FFD
monochromatic
#D8FB17 #E2FC53 #ECFD8F #F6FECB #FAFEE1

Accessibility & contrast

On white

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

On black

19.01
#ECFD8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFD8F
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFD8F#FFFFFF#000000##000000
##ECFD8F1.001.1019.0119.01
#FFFFFF1.101.0021.0021.00
#00000019.0121.001.001.00
##00000019.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF386
Deuteranopia (green-blind)
#FFF495
Tritanopia (blue-blind)
#F7F2E3
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecfd8f;
/* rgb */ color: rgb(236, 253, 143);
/* oklch */ color: oklch(95.8% 0.136 116.2);
Tailwind
colors: {
  custom: {
    50: '#f4feb1',
    500: '#ecfd8f',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd8f;
$custom-light: #f4feb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd8f",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 143
  },
  "hsl": {
    "h": 69.273,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.95822,
    "c": 0.13595,
    "h": 116.2
  },
  "luminance": 0.90067
}

Semantic roles & 50–950 ramp

primary
#ECFD8F
secondary
#6853DE
accent
#00E623
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFD8F

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

Preview Lab → · Contrast checker → · Palette generator →

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