#ECF790#ECF790

#ECF790 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.6% C 0.127 H 113.8°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#ECF790
RGBrgb(236, 247, 144)
HSLhsl(66, 87%, 77%)
HSVhsv(66, 42%, 97%)
CMYKcmyk(4.5%, 0%, 41.7%, 3.1%)
CIE-LABlab(94.47, -18.50, 48.17)
CIE-LCHlch(94.47, 51.61, 111.01°)
OKLaboklab(94.59% -0.0515 0.1166)
OKLCHoklch(94.59% 0.127 113.8)
XYZxyz(72.8876, 86.3690, 39.2113)
Luminance0.8637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF790 #9B90F7
analogous
#F7CF90 #ECF790 #B9F790
triadic
#ECF790 #90ECF7 #F790EC
tetradic
#ECF790 #90F7CF #9B90F7 #F790B9
square
#ECF790 #90F7CF #9B90F7 #F790B9
split-complementary
#ECF790 #90B9F7 #CF90F7
monochromatic
#D8EF1E #E2F357 #ECF790 #F6FBC9 #FAFDE2

Accessibility & contrast

On white

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

On black

18.27
#ECF790 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF790
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF790#FFFFFF#000000##000000
##ECF7901.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE88
Deuteranopia (green-blind)
#FFF095
Tritanopia (blue-blind)
#F7ECDE
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf790;
/* rgb */ color: rgb(236, 247, 144);
/* oklch */ color: oklch(94.6% 0.127 113.8);
Tailwind
colors: {
  custom: {
    50: '#f3f9b2',
    500: '#ecf790',
    950: '#000000',
  },
}
SCSS
$custom: #ecf790;
$custom-light: #f3f9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf790",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 144
  },
  "hsl": {
    "h": 66.408,
    "s": 86.555,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94585,
    "c": 0.12747,
    "h": 113.8
  },
  "luminance": 0.86368
}

Semantic roles & 50–950 ramp

primary
#ECF790
secondary
#6356D5
accent
#02E31A
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF790

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

Preview Lab → · Contrast checker → · Palette generator →

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