#ECFA8A#ECFA8A

#ECFA8A is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.1% C 0.137 H 114.9°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#ECFA8A
RGBrgb(236, 250, 138)
HSLhsl(68, 92%, 76%)
HSVhsv(68, 45%, 98%)
CMYKcmyk(5.6%, 0%, 44.8%, 2%)
CIE-LABlab(95.18, -20.56, 51.91)
CIE-LCHlch(95.18, 55.83, 111.60°)
OKLaboklab(95.13% -0.0578 0.1246)
OKLCHoklch(95.13% 0.137 114.9)
XYZxyz(73.3660, 88.0400, 37.1683)
Luminance0.8804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA8A #988AFA
analogous
#FAD08A #ECFA8A #B4FA8A
triadic
#ECFA8A #8AECFA #FA8AEC
tetradic
#ECFA8A #8AFAD0 #988AFA #FA8AB4
square
#ECFA8A #8AFAD0 #988AFA #FA8AB4
split-complementary
#ECFA8A #8AB4FA #D08AFA
monochromatic
#D9F515 #E2F74F #ECFA8A #F6FDC5 #FAFEE2

Accessibility & contrast

On white

1.13
#ECFA8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.61
#ECFA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA8A
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA8A#FFFFFF#000000##000000
##ECFA8A1.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF081
Deuteranopia (green-blind)
#FFF290
Tritanopia (blue-blind)
#F7EFE0
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfa8a;
/* rgb */ color: rgb(236, 250, 138);
/* oklch */ color: oklch(95.1% 0.137 114.9);
Tailwind
colors: {
  custom: {
    50: '#f4fbae',
    500: '#ecfa8a',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa8a;
$custom-light: #f4fbae;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa8a",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 138
  },
  "hsl": {
    "h": 67.5,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.95126,
    "c": 0.13735,
    "h": 114.9
  },
  "luminance": 0.88039
}

Semantic roles & 50–950 ramp

primary
#ECFA8A
secondary
#614FD9
accent
#00E61D
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECFA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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