#ECF289#ECF289

#ECF289 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.4% C 0.129 H 111.5°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#ECF289
RGBrgb(236, 242, 137)
HSLhsl(63, 80%, 74%)
HSVhsv(63, 43%, 95%)
CMYKcmyk(2.5%, 0%, 43.4%, 5.1%)
CIE-LABlab(93.08, -16.79, 49.80)
CIE-LCHlch(93.08, 52.55, 108.63°)
OKLaboklab(93.45% -0.0472 0.1198)
OKLCHoklch(93.45% 0.129 111.5)
XYZxyz(70.8606, 83.1445, 35.9777)
Luminance0.8314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF289 #8F89F2
analogous
#F2C489 #ECF289 #B7F289
triadic
#ECF289 #89ECF2 #F289EC
tetradic
#ECF289 #89F2C4 #8F89F2 #F289B7
square
#ECF289 #89F2C4 #8F89F2 #F289B7
split-complementary
#ECF289 #89B7F2 #C489F2
monochromatic
#DAE61B #E3EC52 #ECF289 #F5F8C0 #FBFCE3

Accessibility & contrast

On white

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

On black

17.63
#ECF289 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF289
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF289#FFFFFF#000000##000000
##ECF2891.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA80
Deuteranopia (green-blind)
#FFED8E
Tritanopia (blue-blind)
#F8E7D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf289;
/* rgb */ color: rgb(236, 242, 137);
/* oklch */ color: oklch(93.4% 0.129 111.5);
Tailwind
colors: {
  custom: {
    50: '#f4f6ad',
    500: '#ecf289',
    950: '#000000',
  },
}
SCSS
$custom: #ecf289;
$custom-light: #f4f6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf289",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 137
  },
  "hsl": {
    "h": 63.429,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.93446,
    "c": 0.12877,
    "h": 111.5
  },
  "luminance": 0.83143
}

Semantic roles & 50–950 ramp

primary
#ECF289
secondary
#5851CE
accent
#09DC15
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF289

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

Preview Lab → · Contrast checker → · Palette generator →

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