#ECFA8C#ECFA8C

#ECFA8C is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.2% C 0.135 H 115.0°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#ECFA8C
RGBrgb(236, 250, 140)
HSLhsl(68, 92%, 76%)
HSVhsv(68, 44%, 98%)
CMYKcmyk(5.6%, 0%, 44%, 2%)
CIE-LABlab(95.20, -20.36, 50.99)
CIE-LCHlch(95.20, 54.91, 111.76°)
OKLaboklab(95.15% -0.0571 0.1227)
OKLCHoklch(95.15% 0.135 115)
XYZxyz(73.5121, 88.0984, 37.9380)
Luminance0.8810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA8C #9A8CFA
analogous
#FAD18C #ECFA8C #B5FA8C
triadic
#ECFA8C #8CECFA #FA8CEC
tetradic
#ECFA8C #8CFAD1 #9A8CFA #FA8CB5
square
#ECFA8C #8CFAD1 #9A8CFA #FA8CB5
split-complementary
#ECFA8C #8CB5FA #D18CFA
monochromatic
#D9F517 #E2F751 #ECFA8C #F6FDC7 #FAFEE2

Accessibility & contrast

On white

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

On black

18.62
#ECFA8C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA8C
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA8C#FFFFFF#000000##000000
##ECFA8C1.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfa8c;
/* rgb */ color: rgb(236, 250, 140);
/* oklch */ color: oklch(95.2% 0.135 115.0);
Tailwind
colors: {
  custom: {
    50: '#f4fbaf',
    500: '#ecfa8c',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa8c;
$custom-light: #f4fbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa8c",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 140
  },
  "hsl": {
    "h": 67.636,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.95153,
    "c": 0.13531,
    "h": 115
  },
  "luminance": 0.88098
}

Semantic roles & 50–950 ramp

primary
#ECFA8C
secondary
#6251D9
accent
#00E61D
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171711
muted
#858581

Preview Lab

Preview with #ECFA8C

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

Preview Lab → · Contrast checker → · Palette generator →

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