#ECF28A#ECF28A

#ECF28A is a very light, vivid yellow. Relative luminance 0.832; OKLCH L 93.5% C 0.128 H 111.5°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#ECF28A
RGBrgb(236, 242, 138)
HSLhsl(63, 80%, 75%)
HSVhsv(63, 43%, 95%)
CMYKcmyk(2.5%, 0%, 43%, 5.1%)
CIE-LABlab(93.09, -16.69, 49.33)
CIE-LCHlch(93.09, 52.08, 108.69°)
OKLaboklab(93.46% -0.0468 0.1188)
OKLCHoklch(93.46% 0.128 111.5)
XYZxyz(70.9327, 83.1733, 36.3572)
Luminance0.8317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF28A #908AF2
analogous
#F2C48A #ECF28A #B8F28A
triadic
#ECF28A #8AECF2 #F28AEC
tetradic
#ECF28A #8AF2C4 #908AF2 #F28AB8
square
#ECF28A #8AF2C4 #908AF2 #F28AB8
split-complementary
#ECF28A #8AB8F2 #C48AF2
monochromatic
#DAE61C #E3EC53 #ECF28A #F5F8C1 #FBFCE3

Accessibility & contrast

On white

1.19
#ECF28A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.63
#ECF28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF28A
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF28A#FFFFFF#000000##000000
##ECF28A1.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA82
Deuteranopia (green-blind)
#FFED8F
Tritanopia (blue-blind)
#F8E7D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf28a;
/* rgb */ color: rgb(236, 242, 138);
/* oklch */ color: oklch(93.5% 0.128 111.5);
Tailwind
colors: {
  custom: {
    50: '#f4f6ae',
    500: '#ecf28a',
    950: '#000000',
  },
}
SCSS
$custom: #ecf28a;
$custom-light: #f4f6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf28a",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 138
  },
  "hsl": {
    "h": 63.462,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.9346,
    "c": 0.12773,
    "h": 111.5
  },
  "luminance": 0.83172
}

Semantic roles & 50–950 ramp

primary
#ECF28A
secondary
#5952CE
accent
#09DC15
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF28A

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

Preview Lab → · Contrast checker → · Palette generator →

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