#ECFE8A#ECFE8A

#ECFE8A is a very light, vivid yellow. Relative luminance 0.906; OKLCH L 96.0% C 0.142 H 116.4°. Best body text is #000000 at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#ECFE8A
RGBrgb(236, 254, 138)
HSLhsl(69, 98%, 77%)
HSVhsv(69, 46%, 100%)
CMYKcmyk(7.1%, 0%, 45.7%, 0.4%)
CIE-LABlab(96.23, -22.47, 53.19)
CIE-LCHlch(96.23, 57.74, 112.90°)
OKLaboklab(95.96% -0.0633 0.1274)
OKLCHoklch(95.96% 0.142 116.4)
XYZxyz(74.6221, 90.5522, 37.5870)
Luminance0.9055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFE8A #9C8AFE
analogous
#FED68A #ECFE8A #B2FE8A
triadic
#ECFE8A #8AECFE #FE8AEC
tetradic
#ECFE8A #8AFED6 #9C8AFE #FE8AB2
square
#ECFE8A #8AFED6 #9C8AFE #FE8AB2
split-complementary
#ECFE8A #8AB2FE #D68AFE
monochromatic
#D8FD11 #E2FD4D #ECFE8A #F6FFC7 #FAFFE1

Accessibility & contrast

On white

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

On black

19.11
#ECFE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFE8A
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFE8A#FFFFFF#000000##000000
##ECFE8A1.001.1019.1119.11
#FFFFFF1.101.0021.0021.00
#00000019.1121.001.001.00
##00000019.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF480
Deuteranopia (green-blind)
#FFF590
Tritanopia (blue-blind)
#F7F3E3
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecfe8a;
/* rgb */ color: rgb(236, 254, 138);
/* oklch */ color: oklch(96.0% 0.142 116.4);
Tailwind
colors: {
  custom: {
    50: '#f4feae',
    500: '#ecfe8a',
    950: '#000000',
  },
}
SCSS
$custom: #ecfe8a;
$custom-light: #f4feae;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfe8a",
  "rgb": {
    "r": 236,
    "g": 254,
    "b": 138
  },
  "hsl": {
    "h": 69.31,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.95963,
    "c": 0.14226,
    "h": 116.4
  },
  "luminance": 0.90551
}

Semantic roles & 50–950 ramp

primary
#ECFE8A
secondary
#644EDE
accent
#00E624
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECFE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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