#ECF46C#ECF46C

#ECF46C is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.5% C 0.158 H 112.2°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#ECF46C
RGBrgb(236, 244, 108)
HSLhsl(64, 86%, 69%)
HSVhsv(64, 56%, 96%)
CMYKcmyk(3.3%, 0%, 55.7%, 4.3%)
CIE-LABlab(93.28, -20.27, 63.31)
CIE-LCHlch(93.28, 66.47, 107.76°)
OKLaboklab(93.51% -0.0598 0.1468)
OKLCHoklch(93.51% 0.158 112.2)
XYZxyz(69.6512, 83.6184, 26.6553)
Luminance0.8362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF46C #746CF4
analogous
#F4B86C #ECF46C #A8F46C
triadic
#ECF46C #6CECF4 #F46CEC
tetradic
#ECF46C #6CF4B8 #746CF4 #F46CA8
square
#ECF46C #6CF4B8 #746CF4 #F46CA8
split-complementary
#ECF46C #6CA8F4 #B86CF4
monochromatic
#CAD610 #E5F033 #ECF46C #F3F8A5 #FBFDDE

Accessibility & contrast

On white

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

On black

17.72
#ECF46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF46C
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF46C#FFFFFF#000000##000000
##ECF46C1.001.1817.7217.72
#FFFFFF1.181.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5E
Deuteranopia (green-blind)
#FFED74
Tritanopia (blue-blind)
#FAE7D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf46c;
/* rgb */ color: rgb(236, 244, 108);
/* oklch */ color: oklch(93.5% 0.158 112.2);
Tailwind
colors: {
  custom: {
    50: '#f5f79a',
    500: '#ecf46c',
    950: '#000000',
  },
}
SCSS
$custom: #ecf46c;
$custom-light: #f5f79a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf46c",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 108
  },
  "hsl": {
    "h": 63.529,
    "s": 86.076,
    "l": 69.02
  },
  "oklch": {
    "l": 0.93509,
    "c": 0.15849,
    "h": 112.2
  },
  "luminance": 0.83617
}

Semantic roles & 50–950 ramp

primary
#ECF46C
secondary
#4037CD
accent
#03E310
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF46C

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

Preview Lab → · Contrast checker → · Palette generator →

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