#ECF572#ECF572

#ECF572 is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 93.8% C 0.154 H 112.6°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#ECF572
RGBrgb(236, 245, 114)
HSLhsl(64, 87%, 70%)
HSVhsv(64, 53%, 96%)
CMYKcmyk(3.7%, 0%, 53.5%, 3.9%)
CIE-LABlab(93.60, -20.29, 61.04)
CIE-LCHlch(93.60, 64.33, 108.39°)
OKLaboklab(93.78% -0.0593 0.1426)
OKLCHoklch(93.78% 0.154 112.6)
XYZxyz(70.2832, 84.3539, 28.4958)
Luminance0.8435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF572 #7B72F5
analogous
#F5BC72 #ECF572 #AAF572
triadic
#ECF572 #72ECF5 #F572EC
tetradic
#ECF572 #72F5BC #7B72F5 #F572AA
square
#ECF572 #72F5BC #7B72F5 #F572AA
split-complementary
#ECF572 #72AAF5 #BC72F5
monochromatic
#CFDD10 #E4F139 #ECF572 #F4F9AB #FBFDE2

Accessibility & contrast

On white

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

On black

17.87
#ECF572 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF572
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF572#FFFFFF#000000##000000
##ECF5721.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFEE79
Tritanopia (blue-blind)
#FAE8D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf572;
/* rgb */ color: rgb(236, 245, 114);
/* oklch */ color: oklch(93.8% 0.154 112.6);
Tailwind
colors: {
  custom: {
    50: '#f4f89e',
    500: '#ecf572',
    950: '#000000',
  },
}
SCSS
$custom: #ecf572;
$custom-light: #f4f89e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf572",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 114
  },
  "hsl": {
    "h": 64.122,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93783,
    "c": 0.15439,
    "h": 112.6
  },
  "luminance": 0.84353
}

Semantic roles & 50–950 ramp

primary
#ECF572
secondary
#463CCF
accent
#02E312
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF572

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

Preview Lab → · Contrast checker → · Palette generator →

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