#ECF98E#ECF98E

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

Color values

HEX#ECF98E
RGBrgb(236, 249, 142)
HSLhsl(67, 90%, 77%)
HSVhsv(67, 43%, 98%)
CMYKcmyk(5.2%, 0%, 43%, 2.4%)
CIE-LABlab(94.97, -19.68, 49.75)
CIE-LCHlch(94.97, 53.50, 111.58°)
OKLaboklab(94.97% -0.055 0.12)
OKLCHoklch(94.97% 0.132 114.6)
XYZxyz(73.3510, 87.5381, 38.6184)
Luminance0.8754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF98E #9B8EF9
analogous
#F9D18E #ECF98E #B7F98E
triadic
#ECF98E #8EECF9 #F98EEC
tetradic
#ECF98E #8EF9D1 #9B8EF9 #F98EB7
square
#ECF98E #8EF9D1 #9B8EF9 #F98EB7
split-complementary
#ECF98E #8EB7F9 #D18EF9
monochromatic
#D8F31A #E2F654 #ECF98E #F6FCC8 #FAFDE2

Accessibility & contrast

On white

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

On black

18.51
#ECF98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF98E
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF98E#FFFFFF#000000##000000
##ECF98E1.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf98e;
/* rgb */ color: rgb(236, 249, 142);
/* oklch */ color: oklch(95.0% 0.132 114.6);
Tailwind
colors: {
  custom: {
    50: '#f4fbb1',
    500: '#ecf98e',
    950: '#000000',
  },
}
SCSS
$custom: #ecf98e;
$custom-light: #f4fbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf98e",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 142
  },
  "hsl": {
    "h": 67.29,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94973,
    "c": 0.13202,
    "h": 114.6
  },
  "luminance": 0.87537
}

Semantic roles & 50–950 ramp

primary
#ECF98E
secondary
#6353D8
accent
#00E61C
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF98E

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

Preview Lab → · Contrast checker → · Palette generator →

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