#ECF18F#ECF18F

#ECF18F is a very light, vivid yellow. Relative luminance 0.827; OKLCH L 93.3% C 0.121 H 111.1°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#ECF18F
RGBrgb(236, 241, 143)
HSLhsl(63, 78%, 75%)
HSVhsv(63, 41%, 95%)
CMYKcmyk(2.1%, 0%, 40.7%, 5.5%)
CIE-LABlab(92.90, -15.69, 46.68)
CIE-LCHlch(92.90, 49.25, 108.58°)
OKLaboklab(93.33% -0.0436 0.1132)
OKLCHoklch(93.33% 0.121 111.1)
XYZxyz(71.0062, 82.7279, 38.2088)
Luminance0.8273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF18F #948FF1
analogous
#F1C58F #ECF18F #BBF18F
triadic
#ECF18F #8FECF1 #F18FEC
tetradic
#ECF18F #8FF1C5 #948FF1 #F18FBB
square
#ECF18F #8FF1C5 #948FF1 #F18FBB
split-complementary
#ECF18F #8FBBF1 #C58FF1
monochromatic
#DAE322 #E3EA59 #ECF18F #F5F8C5 #FAFCE4

Accessibility & contrast

On white

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

On black

17.55
#ECF18F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF18F
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF18F#FFFFFF#000000##000000
##ECF18F1.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE987
Deuteranopia (green-blind)
#FFEC94
Tritanopia (blue-blind)
#F8E6D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf18f;
/* rgb */ color: rgb(236, 241, 143);
/* oklch */ color: oklch(93.3% 0.121 111.1);
Tailwind
colors: {
  custom: {
    50: '#f3f5b1',
    500: '#ecf18f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf18f;
$custom-light: #f3f5b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf18f",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 143
  },
  "hsl": {
    "h": 63.061,
    "s": 77.778,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93326,
    "c": 0.12127,
    "h": 111.1
  },
  "luminance": 0.82727
}

Semantic roles & 50–950 ramp

primary
#ECF18F
secondary
#5D57CD
accent
#0BDA16
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF18F

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

Preview Lab → · Contrast checker → · Palette generator →

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