#ECF26F#ECF26F

#ECF26F is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.1% C 0.154 H 111.4°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#ECF26F
RGBrgb(236, 242, 111)
HSLhsl(63, 83%, 69%)
HSVhsv(63, 54%, 95%)
CMYKcmyk(2.5%, 0%, 54.1%, 5.1%)
CIE-LABlab(92.79, -19.08, 61.44)
CIE-LCHlch(92.79, 64.33, 107.25°)
OKLaboklab(93.12% -0.0562 0.1431)
OKLCHoklch(93.12% 0.154 111.4)
XYZxyz(69.2151, 82.4863, 27.3112)
Luminance0.8248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF26F #756FF2
analogous
#F2B76F #ECF26F #ABF26F
triadic
#ECF26F #6FECF2 #F26FEC
tetradic
#ECF26F #6FF2B7 #756FF2 #F26FAB
square
#ECF26F #6FF2B7 #756FF2 #F26FAB
split-complementary
#ECF26F #6FABF2 #B76FF2
monochromatic
#CBD413 #E5ED37 #ECF26F #F3F7A7 #FBFCDF

Accessibility & contrast

On white

1.20
#ECF26F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.50
#ECF26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF26F
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF26F#FFFFFF#000000##000000
##ECF26F1.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE862
Deuteranopia (green-blind)
#FFEC76
Tritanopia (blue-blind)
#FAE5D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf26f;
/* rgb */ color: rgb(236, 242, 111);
/* oklch */ color: oklch(93.1% 0.154 111.4);
Tailwind
colors: {
  custom: {
    50: '#f5f69c',
    500: '#ecf26f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf26f;
$custom-light: #f5f69c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf26f",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 111
  },
  "hsl": {
    "h": 62.748,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.93123,
    "c": 0.15371,
    "h": 111.4
  },
  "luminance": 0.82485
}

Semantic roles & 50–950 ramp

primary
#ECF26F
secondary
#413ACB
accent
#06E010
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF26F

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

Preview Lab → · Contrast checker → · Palette generator →

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