#ECF760#ECF760

#ECF760 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#ECF760
RGBrgb(236, 247, 96)
HSLhsl(64, 90%, 67%)
HSVhsv(64, 61%, 97%)
CMYKcmyk(4.5%, 0%, 61.1%, 3.1%)
CIE-LABlab(93.97, -22.55, 69.09)
CIE-LCHlch(93.97, 72.67, 108.07°)
OKLaboklab(94.02% -0.0675 0.1576)
OKLCHoklch(94.02% 0.171 113.2)
XYZxyz(69.9659, 85.2003, 23.8237)
Luminance0.8520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF760 #6B60F7
analogous
#F7B760 #ECF760 #A0F760
triadic
#ECF760 #60ECF7 #F760EC
tetradic
#ECF760 #60F7B7 #6B60F7 #F760A0
square
#ECF760 #60F7B7 #6B60F7 #F760A0
split-complementary
#ECF760 #60A0F7 #B760F7
monochromatic
#C4D20B #E5F426 #ECF760 #F3FA9A #FAFDD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF760#FFFFFF#000000##000000
##ECF7601.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)
#FFEC4D
Deuteranopia (green-blind)
#FFEF6A
Tritanopia (blue-blind)
#FBE9D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf760;
/* rgb */ color: rgb(236, 247, 96);
/* oklch */ color: oklch(94.0% 0.171 113.2);
Tailwind
colors: {
  custom: {
    50: '#f5f993',
    500: '#ecf760',
    950: '#000000',
  },
}
SCSS
$custom: #ecf760;
$custom-light: #f5f993;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf760",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 96
  },
  "hsl": {
    "h": 64.371,
    "s": 90.419,
    "l": 67.255
  },
  "oklch": {
    "l": 0.94024,
    "c": 0.1714,
    "h": 113.2
  },
  "luminance": 0.85199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECF760

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

Preview Lab → · Contrast checker → · Palette generator →

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