#ECF474#ECF474

#ECF474 is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.6% C 0.151 H 112.2°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#ECF474
RGBrgb(236, 244, 116)
HSLhsl(64, 85%, 71%)
HSVhsv(64, 52%, 96%)
CMYKcmyk(3.3%, 0%, 52.5%, 4.3%)
CIE-LABlab(93.36, -19.65, 59.87)
CIE-LCHlch(93.36, 63.01, 108.17°)
OKLaboklab(93.6% -0.0573 0.1402)
OKLCHoklch(93.6% 0.151 112.2)
XYZxyz(70.0966, 83.7965, 29.0014)
Luminance0.8379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF474 #7C74F4
analogous
#F4BC74 #ECF474 #ACF474
triadic
#ECF474 #74ECF4 #F474EC
tetradic
#ECF474 #74F4BC #7C74F4 #F474AC
square
#ECF474 #74F4BC #7C74F4 #F474AC
split-complementary
#ECF474 #74ACF4 #BC74F4
monochromatic
#D0DC11 #E4F03B #ECF474 #F4F8AD #FBFDE3

Accessibility & contrast

On white

1.18
#ECF474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.76
#ECF474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF474
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF474#FFFFFF#000000##000000
##ECF4741.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA67
Deuteranopia (green-blind)
#FFEE7B
Tritanopia (blue-blind)
#FAE7D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf474;
/* rgb */ color: rgb(236, 244, 116);
/* oklch */ color: oklch(93.6% 0.151 112.2);
Tailwind
colors: {
  custom: {
    50: '#f4f79f',
    500: '#ecf474',
    950: '#000000',
  },
}
SCSS
$custom: #ecf474;
$custom-light: #f4f79f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf474",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 116
  },
  "hsl": {
    "h": 63.75,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93596,
    "c": 0.15147,
    "h": 112.2
  },
  "luminance": 0.83795
}

Semantic roles & 50–950 ramp

primary
#ECF474
secondary
#473ECE
accent
#04E212
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF474

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

Preview Lab → · Contrast checker → · Palette generator →

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