#ECF498#ECF498

#ECF498 is a very light, moderate yellow. Relative luminance 0.848; OKLCH L 94.1% C 0.115 H 112.7°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#ECF498
RGBrgb(236, 244, 152)
HSLhsl(65, 81%, 78%)
HSVhsv(65, 38%, 96%)
CMYKcmyk(3.3%, 0%, 37.7%, 4.3%)
CIE-LABlab(93.80, -16.19, 43.44)
CIE-LCHlch(93.80, 46.36, 110.44°)
OKLaboklab(94.09% -0.0444 0.1063)
OKLCHoklch(94.09% 0.115 112.7)
XYZxyz(72.6109, 84.8022, 42.2430)
Luminance0.8480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF498 #A098F4
analogous
#F4CE98 #ECF498 #BEF498
triadic
#ECF498 #98ECF4 #F498EC
tetradic
#ECF498 #98F4CE #A098F4 #F498BE
square
#ECF498 #98F4CE #A098F4 #F498BE
split-complementary
#ECF498 #98BEF4 #CE98F4
monochromatic
#D8E829 #E2EE61 #ECF498 #F6FACF #FAFCE3

Accessibility & contrast

On white

1.17
#ECF498 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#ECF498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF498
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF498#FFFFFF#000000##000000
##ECF4981.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC91
Deuteranopia (green-blind)
#FFEE9C
Tritanopia (blue-blind)
#F7EADD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf498;
/* rgb */ color: rgb(236, 244, 152);
/* oklch */ color: oklch(94.1% 0.115 112.7);
Tailwind
colors: {
  custom: {
    50: '#f3f7b7',
    500: '#ecf498',
    950: '#000000',
  },
}
SCSS
$custom: #ecf498;
$custom-light: #f3f7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf498",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 152
  },
  "hsl": {
    "h": 65.217,
    "s": 80.702,
    "l": 77.647
  },
  "oklch": {
    "l": 0.94085,
    "c": 0.11514,
    "h": 112.7
  },
  "luminance": 0.84801
}

Semantic roles & 50–950 ramp

primary
#ECF498
secondary
#685ED2
accent
#08DD1B
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF498

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

Preview Lab → · Contrast checker → · Palette generator →

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