#ECF189#ECF189

#ECF189 is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.2% C 0.128 H 111.0°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#ECF189
RGBrgb(236, 241, 137)
HSLhsl(63, 79%, 74%)
HSVhsv(63, 43%, 95%)
CMYKcmyk(2.1%, 0%, 43.2%, 5.5%)
CIE-LABlab(92.82, -16.30, 49.48)
CIE-LCHlch(92.82, 52.09, 108.23°)
OKLaboklab(93.24% -0.0458 0.1191)
OKLCHoklch(93.24% 0.128 111)
XYZxyz(70.5638, 82.5509, 35.8788)
Luminance0.8255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF189 #8E89F1
analogous
#F1C289 #ECF189 #B8F189
triadic
#ECF189 #89ECF1 #F189EC
tetradic
#ECF189 #89F1C2 #8E89F1 #F189B8
square
#ECF189 #89F1C2 #8E89F1 #F189B8
split-complementary
#ECF189 #89B8F1 #C289F1
monochromatic
#DAE41C #E3EB52 #ECF189 #F5F7C0 #FBFCE4

Accessibility & contrast

On white

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

On black

17.51
#ECF189 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF189
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF189#FFFFFF#000000##000000
##ECF1891.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE980
Deuteranopia (green-blind)
#FFEC8E
Tritanopia (blue-blind)
#F8E6D8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf189;
/* rgb */ color: rgb(236, 241, 137);
/* oklch */ color: oklch(93.2% 0.128 111.0);
Tailwind
colors: {
  custom: {
    50: '#f4f5ad',
    500: '#ecf189',
    950: '#000000',
  },
}
SCSS
$custom: #ecf189;
$custom-light: #f4f5ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf189",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 137
  },
  "hsl": {
    "h": 62.885,
    "s": 78.788,
    "l": 74.118
  },
  "oklch": {
    "l": 0.93239,
    "c": 0.12759,
    "h": 111
  },
  "luminance": 0.8255
}

Semantic roles & 50–950 ramp

primary
#ECF189
secondary
#5751CD
accent
#0ADB14
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF189

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

Preview Lab → · Contrast checker → · Palette generator →

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