#ECFE7E#ECFE7E

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

Color values

HEX#ECFE7E
RGBrgb(236, 254, 126)
HSLhsl(68, 98%, 75%)
HSVhsv(68, 50%, 100%)
CMYKcmyk(7.1%, 0%, 50.4%, 0.4%)
CIE-LABlab(96.09, -23.58, 58.56)
CIE-LCHlch(96.09, 63.13, 111.93°)
OKLaboklab(95.81% -0.0675 0.1383)
OKLCHoklch(95.81% 0.154 116)
XYZxyz(73.8008, 90.2237, 33.2617)
Luminance0.9022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFE7E #907EFE
analogous
#FED07E #ECFE7E #ACFE7E
triadic
#ECFE7E #7EECFE #FE7EEC
tetradic
#ECFE7E #7EFED0 #907EFE #FE7EAC
square
#ECFE7E #7EFED0 #907EFE #FE7EAC
split-complementary
#ECFE7E #7EACFE #D07EFE
monochromatic
#DAFD05 #E3FE41 #ECFE7E #F5FEBB #FBFFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFE7E#FFFFFF#000000##000000
##ECFE7E1.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)
#FFF372
Deuteranopia (green-blind)
#FFF585
Tritanopia (blue-blind)
#F8F2E1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecfe7e;
/* rgb */ color: rgb(236, 254, 126);
/* oklch */ color: oklch(95.8% 0.154 116.0);
Tailwind
colors: {
  custom: {
    50: '#f4fea6',
    500: '#ecfe7e',
    950: '#000000',
  },
}
SCSS
$custom: #ecfe7e;
$custom-light: #f4fea6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfe7e",
  "rgb": {
    "r": 236,
    "g": 254,
    "b": 126
  },
  "hsl": {
    "h": 68.438,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.9581,
    "c": 0.15388,
    "h": 116
  },
  "luminance": 0.90223
}

Semantic roles & 50–950 ramp

primary
#ECFE7E
secondary
#5944DD
accent
#00E620
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #ECFE7E

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

Preview Lab → · Contrast checker → · Palette generator →

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