#ECF774#ECF774

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

Color values

HEX#ECF774
RGBrgb(236, 247, 116)
HSLhsl(65, 89%, 71%)
HSVhsv(65, 53%, 97%)
CMYKcmyk(4.5%, 0%, 53%, 3.1%)
CIE-LABlab(94.15, -21.09, 60.78)
CIE-LCHlch(94.15, 64.34, 109.13°)
OKLaboklab(94.22% -0.0614 0.1422)
OKLCHoklch(94.22% 0.155 113.3)
XYZxyz(71.0066, 85.6166, 29.3047)
Luminance0.8561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF774 #7F74F7
analogous
#F7C074 #ECF774 #AAF774
triadic
#ECF774 #74ECF7 #F774EC
tetradic
#ECF774 #74F7C0 #7F74F7 #F774AA
square
#ECF774 #74F7C0 #7F74F7 #F774AA
split-complementary
#ECF774 #74AAF7 #C074F7
monochromatic
#D2E40D #E4F43A #ECF774 #F4FAAE #FBFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF774#FFFFFF#000000##000000
##ECF7741.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)
#FFED67
Deuteranopia (green-blind)
#FFF07B
Tritanopia (blue-blind)
#F9EADA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf774;
/* rgb */ color: rgb(236, 247, 116);
/* oklch */ color: oklch(94.2% 0.155 113.3);
Tailwind
colors: {
  custom: {
    50: '#f4f9a0',
    500: '#ecf774',
    950: '#000000',
  },
}
SCSS
$custom: #ecf774;
$custom-light: #f4f9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf774",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 116
  },
  "hsl": {
    "h": 65.038,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94224,
    "c": 0.15486,
    "h": 113.3
  },
  "luminance": 0.85615
}

Semantic roles & 50–950 ramp

primary
#ECF774
secondary
#4A3DD2
accent
#00E613
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF774

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

Preview Lab → · Contrast checker → · Palette generator →

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