#ECF772#ECF772

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

Color values

HEX#ECF772
RGBrgb(236, 247, 114)
HSLhsl(65, 89%, 71%)
HSVhsv(65, 54%, 97%)
CMYKcmyk(4.5%, 0%, 53.8%, 3.1%)
CIE-LABlab(94.13, -21.25, 61.64)
CIE-LCHlch(94.13, 65.20, 109.02°)
OKLaboklab(94.2% -0.062 0.1438)
OKLCHoklch(94.2% 0.157 113.3)
XYZxyz(70.8916, 85.5705, 28.6986)
Luminance0.8557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF772 #7D72F7
analogous
#F7BF72 #ECF772 #A9F772
triadic
#ECF772 #72ECF7 #F772EC
tetradic
#ECF772 #72F7BF #7D72F7 #F772A9
square
#ECF772 #72F7BF #7D72F7 #F772A9
split-complementary
#ECF772 #72A9F7 #BF72F7
monochromatic
#D0E20D #E4F438 #ECF772 #F4FAAC #FBFDE2

Accessibility & contrast

On white

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

On black

18.11
#ECF772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF772
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF772#FFFFFF#000000##000000
##ECF7721.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf772;
/* rgb */ color: rgb(236, 247, 114);
/* oklch */ color: oklch(94.2% 0.157 113.3);
Tailwind
colors: {
  custom: {
    50: '#f4f99e',
    500: '#ecf772',
    950: '#000000',
  },
}
SCSS
$custom: #ecf772;
$custom-light: #f4f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf772",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 64.962,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94202,
    "c": 0.15664,
    "h": 113.3
  },
  "luminance": 0.85569
}

Semantic roles & 50–950 ramp

primary
#ECF772
secondary
#483BD2
accent
#00E613
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF772

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

Preview Lab → · Contrast checker → · Palette generator →

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