#ECF761#ECF761

#ECF761 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.0% C 0.171 H 113.2°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#ECF761
RGBrgb(236, 247, 97)
HSLhsl(64, 90%, 67%)
HSVhsv(64, 61%, 97%)
CMYKcmyk(4.5%, 0%, 60.7%, 3.1%)
CIE-LABlab(93.98, -22.48, 68.69)
CIE-LCHlch(93.98, 72.27, 108.12°)
OKLaboklab(94.03% -0.0672 0.1569)
OKLCHoklch(94.03% 0.171 113.2)
XYZxyz(70.0123, 85.2188, 24.0677)
Luminance0.8522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF761 #6C61F7
analogous
#F7B761 #ECF761 #A1F761
triadic
#ECF761 #61ECF7 #F761EC
tetradic
#ECF761 #61F7B7 #6C61F7 #F761A1
square
#ECF761 #61F7B7 #6C61F7 #F761A1
split-complementary
#ECF761 #61A1F7 #B761F7
monochromatic
#C4D30B #E5F427 #ECF761 #F3FA9B #FAFDD6

Accessibility & contrast

On white

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

On black

18.04
#ECF761 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF761
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF761#FFFFFF#000000##000000
##ECF7611.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC4F
Deuteranopia (green-blind)
#FFEF6B
Tritanopia (blue-blind)
#FBE9D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf761;
/* rgb */ color: rgb(236, 247, 97);
/* oklch */ color: oklch(94.0% 0.171 113.2);
Tailwind
colors: {
  custom: {
    50: '#f5f994',
    500: '#ecf761',
    950: '#000000',
  },
}
SCSS
$custom: #ecf761;
$custom-light: #f5f994;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf761",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 97
  },
  "hsl": {
    "h": 64.4,
    "s": 90.361,
    "l": 67.451
  },
  "oklch": {
    "l": 0.94032,
    "c": 0.17065,
    "h": 113.2
  },
  "luminance": 0.85217
}

Semantic roles & 50–950 ramp

primary
#ECF761
secondary
#3A2ECE
accent
#00E611
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF761

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

Preview Lab → · Contrast checker → · Palette generator →

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