#ECF28D#ECF28D

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

Color values

HEX#ECF28D
RGBrgb(236, 242, 141)
HSLhsl(64, 80%, 75%)
HSVhsv(64, 42%, 95%)
CMYKcmyk(2.5%, 0%, 41.7%, 5.1%)
CIE-LABlab(93.13, -16.38, 47.94)
CIE-LCHlch(93.13, 50.66, 108.87°)
OKLaboklab(93.5% -0.0457 0.1159)
OKLCHoklch(93.5% 0.125 111.5)
XYZxyz(71.1529, 83.2614, 37.5169)
Luminance0.8326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF28D #938DF2
analogous
#F2C58D #ECF28D #BAF28D
triadic
#ECF28D #8DECF2 #F28DEC
tetradic
#ECF28D #8DF2C5 #938DF2 #F28DBA
square
#ECF28D #8DF2C5 #938DF2 #F28DBA
split-complementary
#ECF28D #8DBAF2 #C58DF2
monochromatic
#DAE51F #E3EC56 #ECF28D #F5F8C4 #FAFCE4

Accessibility & contrast

On white

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

On black

17.65
#ECF28D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF28D
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF28D#FFFFFF#000000##000000
##ECF28D1.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA85
Deuteranopia (green-blind)
#FFED92
Tritanopia (blue-blind)
#F8E7DA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf28d;
/* rgb */ color: rgb(236, 242, 141);
/* oklch */ color: oklch(93.5% 0.125 111.5);
Tailwind
colors: {
  custom: {
    50: '#f3f6b0',
    500: '#ecf28d',
    950: '#000000',
  },
}
SCSS
$custom: #ecf28d;
$custom-light: #f3f6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf28d",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 141
  },
  "hsl": {
    "h": 63.564,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.93503,
    "c": 0.12458,
    "h": 111.5
  },
  "luminance": 0.8326
}

Semantic roles & 50–950 ramp

primary
#ECF28D
secondary
#5C55CF
accent
#0ADC16
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171711
muted
#858581

Preview Lab

Preview with #ECF28D

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

Preview Lab → · Contrast checker → · Palette generator →

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