#ECF789#ECF789

#ECF789 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.5% C 0.135 H 113.7°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#ECF789
RGBrgb(236, 247, 137)
HSLhsl(66, 87%, 75%)
HSVhsv(66, 45%, 97%)
CMYKcmyk(4.5%, 0%, 44.5%, 3.1%)
CIE-LABlab(94.38, -19.21, 51.40)
CIE-LCHlch(94.38, 54.88, 110.49°)
OKLaboklab(94.49% -0.0541 0.1234)
OKLCHoklch(94.49% 0.135 113.7)
XYZxyz(72.3691, 86.1616, 36.4805)
Luminance0.8616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF789 #9489F7
analogous
#F7CB89 #ECF789 #B5F789
triadic
#ECF789 #89ECF7 #F789EC
tetradic
#ECF789 #89F7CB #9489F7 #F789B5
square
#ECF789 #89F7CB #9489F7 #F789B5
split-complementary
#ECF789 #89B5F7 #CB89F7
monochromatic
#DAEF16 #E3F350 #ECF789 #F5FBC2 #FAFDE2

Accessibility & contrast

On white

1.15
#ECF789 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.23
#ECF789 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF789
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF789#FFFFFF#000000##000000
##ECF7891.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE80
Deuteranopia (green-blind)
#FFF08E
Tritanopia (blue-blind)
#F8ECDD
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf789;
/* rgb */ color: rgb(236, 247, 137);
/* oklch */ color: oklch(94.5% 0.135 113.7);
Tailwind
colors: {
  custom: {
    50: '#f4f9ad',
    500: '#ecf789',
    950: '#000000',
  },
}
SCSS
$custom: #ecf789;
$custom-light: #f4f9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf789",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 137
  },
  "hsl": {
    "h": 66,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94486,
    "c": 0.13473,
    "h": 113.7
  },
  "luminance": 0.86161
}

Semantic roles & 50–950 ramp

primary
#ECF789
secondary
#5D50D5
accent
#02E418
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF789

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

Preview Lab → · Contrast checker → · Palette generator →

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