#ECF76C#ECF76C

#ECF76C is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.1% C 0.162 H 113.3°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#ECF76C
RGBrgb(236, 247, 108)
HSLhsl(65, 90%, 70%)
HSVhsv(65, 56%, 97%)
CMYKcmyk(4.5%, 0%, 56.3%, 3.1%)
CIE-LABlab(94.07, -21.71, 64.19)
CIE-LCHlch(94.07, 67.76, 108.69°)
OKLaboklab(94.14% -0.0639 0.1487)
OKLCHoklch(94.14% 0.162 113.3)
XYZxyz(70.5612, 85.4384, 26.9586)
Luminance0.8544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF76C #776CF7
analogous
#F7BC6C #ECF76C #A7F76C
triadic
#ECF76C #6CECF7 #F76CEC
tetradic
#ECF76C #6CF7BC #776CF7 #F76CA7
square
#ECF76C #6CF7BC #776CF7 #F76CA7
split-complementary
#ECF76C #6CA7F7 #BC6CF7
monochromatic
#CCDD0C #E4F432 #ECF76C #F4FAA6 #FBFDE0

Accessibility & contrast

On white

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

On black

18.09
#ECF76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF76C
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF76C#FFFFFF#000000##000000
##ECF76C1.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5D
Deuteranopia (green-blind)
#FFF074
Tritanopia (blue-blind)
#FAEAD9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf76c;
/* rgb */ color: rgb(236, 247, 108);
/* oklch */ color: oklch(94.1% 0.162 113.3);
Tailwind
colors: {
  custom: {
    50: '#f5f99b',
    500: '#ecf76c',
    950: '#000000',
  },
}
SCSS
$custom: #ecf76c;
$custom-light: #f5f99b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf76c",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 108
  },
  "hsl": {
    "h": 64.748,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.94138,
    "c": 0.16181,
    "h": 113.3
  },
  "luminance": 0.85437
}

Semantic roles & 50–950 ramp

primary
#ECF76C
secondary
#4236D1
accent
#00E612
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF76C

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

Preview Lab → · Contrast checker → · Palette generator →

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