#ECF571#ECF571

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

Color values

HEX#ECF571
RGBrgb(236, 245, 113)
HSLhsl(64, 87%, 70%)
HSVhsv(64, 54%, 96%)
CMYKcmyk(3.7%, 0%, 53.9%, 3.9%)
CIE-LABlab(93.59, -20.37, 61.47)
CIE-LCHlch(93.59, 64.76, 108.33°)
OKLaboklab(93.77% -0.0596 0.1434)
OKLCHoklch(93.77% 0.155 112.6)
XYZxyz(70.2266, 84.3313, 28.1977)
Luminance0.8433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF571 #7A71F5
analogous
#F5BC71 #ECF571 #AAF571
triadic
#ECF571 #71ECF5 #F571EC
tetradic
#ECF571 #71F5BC #7A71F5 #F571AA
square
#ECF571 #71F5BC #7A71F5 #F571AA
split-complementary
#ECF571 #71AAF5 #BC71F5
monochromatic
#CEDC10 #E4F138 #ECF571 #F4F9AA #FBFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF571#FFFFFF#000000##000000
##ECF5711.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)
#FFEB64
Deuteranopia (green-blind)
#FFEE78
Tritanopia (blue-blind)
#FAE8D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf571;
/* rgb */ color: rgb(236, 245, 113);
/* oklch */ color: oklch(93.8% 0.155 112.6);
Tailwind
colors: {
  custom: {
    50: '#f4f89e',
    500: '#ecf571',
    950: '#000000',
  },
}
SCSS
$custom: #ecf571;
$custom-light: #f4f89e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf571",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 113
  },
  "hsl": {
    "h": 64.091,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93772,
    "c": 0.15527,
    "h": 112.6
  },
  "luminance": 0.8433
}

Semantic roles & 50–950 ramp

primary
#ECF571
secondary
#453BCF
accent
#02E311
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF571

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

Preview Lab → · Contrast checker → · Palette generator →

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