#ECF476#ECF476

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

Color values

HEX#ECF476
RGBrgb(236, 244, 118)
HSLhsl(64, 85%, 71%)
HSVhsv(64, 52%, 96%)
CMYKcmyk(3.3%, 0%, 51.6%, 4.3%)
CIE-LABlab(93.38, -19.48, 59.00)
CIE-LCHlch(93.38, 62.13, 108.27°)
OKLaboklab(93.62% -0.0566 0.1385)
OKLCHoklch(93.62% 0.15 112.2)
XYZxyz(70.2142, 83.8436, 29.6207)
Luminance0.8384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF476 #7E76F4
analogous
#F4BD76 #ECF476 #ADF476
triadic
#ECF476 #76ECF4 #F476EC
tetradic
#ECF476 #76F4BD #7E76F4 #F476AD
square
#ECF476 #76F4BD #7E76F4 #F476AD
split-complementary
#ECF476 #76ADF4 #BD76F4
monochromatic
#D1DE12 #E4EF3D #ECF476 #F4F9AF #FBFDE3

Accessibility & contrast

On white

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

On black

17.77
#ECF476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF476
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF476#FFFFFF#000000##000000
##ECF4761.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6A
Deuteranopia (green-blind)
#FFEE7D
Tritanopia (blue-blind)
#F9E8D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf476;
/* rgb */ color: rgb(236, 244, 118);
/* oklch */ color: oklch(93.6% 0.150 112.2);
Tailwind
colors: {
  custom: {
    50: '#f4f7a1',
    500: '#ecf476',
    950: '#000000',
  },
}
SCSS
$custom: #ecf476;
$custom-light: #f4f7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf476",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 118
  },
  "hsl": {
    "h": 63.81,
    "s": 85.135,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93619,
    "c": 0.14965,
    "h": 112.2
  },
  "luminance": 0.83842
}

Semantic roles & 50–950 ramp

primary
#ECF476
secondary
#4940CF
accent
#04E212
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF476

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

Preview Lab → · Contrast checker → · Palette generator →

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