#ECF773#ECF773

#ECF773 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.2% C 0.156 H 113.3°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#ECF773
RGBrgb(236, 247, 115)
HSLhsl(65, 89%, 71%)
HSVhsv(65, 53%, 97%)
CMYKcmyk(4.5%, 0%, 53.4%, 3.1%)
CIE-LABlab(94.14, -21.17, 61.21)
CIE-LCHlch(94.14, 64.77, 109.08°)
OKLaboklab(94.21% -0.0617 0.143)
OKLCHoklch(94.21% 0.156 113.3)
XYZxyz(70.9488, 85.5934, 29.0000)
Luminance0.8559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF773 #7E73F7
analogous
#F7C073 #ECF773 #AAF773
triadic
#ECF773 #73ECF7 #F773EC
tetradic
#ECF773 #73F7C0 #7E73F7 #F773AA
square
#ECF773 #73F7C0 #7E73F7 #F773AA
split-complementary
#ECF773 #73AAF7 #C073F7
monochromatic
#D1E30D #E4F439 #ECF773 #F4FAAD #FBFDE2

Accessibility & contrast

On white

1.16
#ECF773 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#ECF773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF773
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF773#FFFFFF#000000##000000
##ECF7731.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED66
Deuteranopia (green-blind)
#FFF07A
Tritanopia (blue-blind)
#F9EADA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf773;
/* rgb */ color: rgb(236, 247, 115);
/* oklch */ color: oklch(94.2% 0.156 113.3);
Tailwind
colors: {
  custom: {
    50: '#f4f99f',
    500: '#ecf773',
    950: '#000000',
  },
}
SCSS
$custom: #ecf773;
$custom-light: #f4f99f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf773",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 115
  },
  "hsl": {
    "h": 65,
    "s": 89.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94213,
    "c": 0.15576,
    "h": 113.3
  },
  "luminance": 0.85592
}

Semantic roles & 50–950 ramp

primary
#ECF773
secondary
#493CD2
accent
#00E613
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF773

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

Preview Lab → · Contrast checker → · Palette generator →

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