#ECF98A#ECF98A

#ECF98A is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 94.9% C 0.136 H 114.5°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#ECF98A
RGBrgb(236, 249, 138)
HSLhsl(67, 90%, 76%)
HSVhsv(67, 45%, 98%)
CMYKcmyk(5.2%, 0%, 44.6%, 2.4%)
CIE-LABlab(94.92, -20.08, 51.59)
CIE-LCHlch(94.92, 55.36, 111.26°)
OKLaboklab(94.92% -0.0565 0.1239)
OKLCHoklch(94.92% 0.136 114.5)
XYZxyz(73.0561, 87.4202, 37.0650)
Luminance0.8742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF98A #978AF9
analogous
#F9CE8A #ECF98A #B4F98A
triadic
#ECF98A #8AECF9 #F98AEC
tetradic
#ECF98A #8AF9CE #978AF9 #F98AB4
square
#ECF98A #8AF9CE #978AF9 #F98AB4
split-complementary
#ECF98A #8AB4F9 #CE8AF9
monochromatic
#D9F316 #E3F650 #ECF98A #F5FCC4 #FAFEE2

Accessibility & contrast

On white

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

On black

18.48
#ECF98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF98A
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF98A#FFFFFF#000000##000000
##ECF98A1.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF81
Deuteranopia (green-blind)
#FFF290
Tritanopia (blue-blind)
#F8EEDF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf98a;
/* rgb */ color: rgb(236, 249, 138);
/* oklch */ color: oklch(94.9% 0.136 114.5);
Tailwind
colors: {
  custom: {
    50: '#f4fbae',
    500: '#ecf98a',
    950: '#000000',
  },
}
SCSS
$custom: #ecf98a;
$custom-light: #f4fbae;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf98a",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 138
  },
  "hsl": {
    "h": 67.027,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.94917,
    "c": 0.13613,
    "h": 114.5
  },
  "luminance": 0.87419
}

Semantic roles & 50–950 ramp

primary
#ECF98A
secondary
#6050D7
accent
#00E61B
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF98A

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

Preview Lab → · Contrast checker → · Palette generator →

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