#ECF28F#ECF28F

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

Color values

HEX#ECF28F
RGBrgb(236, 242, 143)
HSLhsl(64, 79%, 75%)
HSVhsv(64, 41%, 95%)
CMYKcmyk(2.5%, 0%, 40.9%, 5.1%)
CIE-LABlab(93.16, -16.18, 47.01)
CIE-LCHlch(93.16, 49.71, 108.99°)
OKLaboklab(93.53% -0.045 0.1139)
OKLCHoklch(93.53% 0.122 111.5)
XYZxyz(71.3030, 83.3215, 38.3078)
Luminance0.8332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF28F #958FF2
analogous
#F2C68F #ECF28F #BBF28F
triadic
#ECF28F #8FECF2 #F28FEC
tetradic
#ECF28F #8FF2C6 #958FF2 #F28FBB
square
#ECF28F #8FF2C6 #958FF2 #F28FBB
split-complementary
#ECF28F #8FBBF2 #C68FF2
monochromatic
#D9E521 #E3EC58 #ECF28F #F5F8C6 #FAFCE4

Accessibility & contrast

On white

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

On black

17.66
#ECF28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF28F
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF28F#FFFFFF#000000##000000
##ECF28F1.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf28f;
/* rgb */ color: rgb(236, 242, 143);
/* oklch */ color: oklch(93.5% 0.122 111.5);
Tailwind
colors: {
  custom: {
    50: '#f3f6b1',
    500: '#ecf28f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf28f;
$custom-light: #f3f6b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf28f",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 143
  },
  "hsl": {
    "h": 63.636,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.93533,
    "c": 0.12247,
    "h": 111.5
  },
  "luminance": 0.8332
}

Semantic roles & 50–950 ramp

primary
#ECF28F
secondary
#5E57CF
accent
#0ADB17
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF28F

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

Preview Lab → · Contrast checker → · Palette generator →

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