#ECF76F#ECF76F

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

Color values

HEX#ECF76F
RGBrgb(236, 247, 111)
HSLhsl(65, 89%, 70%)
HSVhsv(65, 55%, 97%)
CMYKcmyk(4.5%, 0%, 55.1%, 3.1%)
CIE-LABlab(94.10, -21.48, 62.93)
CIE-LCHlch(94.10, 66.49, 108.85°)
OKLaboklab(94.17% -0.063 0.1463)
OKLCHoklch(94.17% 0.159 113.3)
XYZxyz(70.7236, 85.5034, 27.8140)
Luminance0.8550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF76F #7A6FF7
analogous
#F7BE6F #ECF76F #A8F76F
triadic
#ECF76F #6FECF7 #F76FEC
tetradic
#ECF76F #6FF7BE #7A6FF7 #F76FA8
square
#ECF76F #6FF7BE #7A6FF7 #F76FA8
split-complementary
#ECF76F #6FA8F7 #BE6FF7
monochromatic
#CEDF0C #E4F435 #ECF76F #F4FAA9 #FBFDE2

Accessibility & contrast

On white

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

On black

18.10
#ECF76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF76F
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF76F#FFFFFF#000000##000000
##ECF76F1.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf76f;
/* rgb */ color: rgb(236, 247, 111);
/* oklch */ color: oklch(94.2% 0.159 113.3);
Tailwind
colors: {
  custom: {
    50: '#f5f99c',
    500: '#ecf76f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf76f;
$custom-light: #f5f99c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf76f",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 111
  },
  "hsl": {
    "h": 64.853,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.9417,
    "c": 0.15926,
    "h": 113.3
  },
  "luminance": 0.85502
}

Semantic roles & 50–950 ramp

primary
#ECF76F
secondary
#4539D1
accent
#00E613
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF76F

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

Preview Lab → · Contrast checker → · Palette generator →

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