#ECF98D#ECF98D

#ECF98D is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.0% C 0.133 H 114.6°. Best body text is #000000 at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#ECF98D
RGBrgb(236, 249, 141)
HSLhsl(67, 90%, 76%)
HSVhsv(67, 43%, 98%)
CMYKcmyk(5.2%, 0%, 43.4%, 2.4%)
CIE-LABlab(94.95, -19.78, 50.21)
CIE-LCHlch(94.95, 53.97, 111.50°)
OKLaboklab(94.96% -0.0554 0.121)
OKLCHoklch(94.96% 0.133 114.6)
XYZxyz(73.2763, 87.5082, 38.2247)
Luminance0.8751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF98D #9A8DF9
analogous
#F9D08D #ECF98D #B6F98D
triadic
#ECF98D #8DECF9 #F98DEC
tetradic
#ECF98D #8DF9D0 #9A8DF9 #F98DB6
square
#ECF98D #8DF9D0 #9A8DF9 #F98DB6
split-complementary
#ECF98D #8DB6F9 #D08DF9
monochromatic
#D9F319 #E2F653 #ECF98D #F6FCC7 #FAFDE2

Accessibility & contrast

On white

1.14
#ECF98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.50
#ECF98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF98D
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF98D#FFFFFF#000000##000000
##ECF98D1.001.1418.5018.50
#FFFFFF1.141.0021.0021.00
#00000018.5021.001.001.00
##00000018.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF084
Deuteranopia (green-blind)
#FFF292
Tritanopia (blue-blind)
#F7EEDF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf98d;
/* rgb */ color: rgb(236, 249, 141);
/* oklch */ color: oklch(95.0% 0.133 114.6);
Tailwind
colors: {
  custom: {
    50: '#f4fbb0',
    500: '#ecf98d',
    950: '#000000',
  },
}
SCSS
$custom: #ecf98d;
$custom-light: #f4fbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf98d",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 141
  },
  "hsl": {
    "h": 67.222,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94959,
    "c": 0.13306,
    "h": 114.6
  },
  "luminance": 0.87507
}

Semantic roles & 50–950 ramp

primary
#ECF98D
secondary
#6252D8
accent
#00E61C
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171711
muted
#858581

Preview Lab

Preview with #ECF98D

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

Preview Lab → · Contrast checker → · Palette generator →

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