#ECF57E#ECF57E

#ECF57E is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 93.9% C 0.143 H 112.7°. Best body text is #000000 at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#ECF57E
RGBrgb(236, 245, 126)
HSLhsl(65, 86%, 73%)
HSVhsv(65, 49%, 96%)
CMYKcmyk(3.7%, 0%, 48.6%, 3.9%)
CIE-LABlab(93.73, -19.28, 55.76)
CIE-LCHlch(93.73, 59.00, 109.07°)
OKLaboklab(93.92% -0.0553 0.1322)
OKLCHoklch(93.92% 0.143 112.7)
XYZxyz(71.0116, 84.6453, 32.3320)
Luminance0.8464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF57E #877EF5
analogous
#F5C37E #ECF57E #B0F57E
triadic
#ECF57E #7EECF5 #F57EEC
tetradic
#ECF57E #7EF5C3 #877EF5 #F57EB0
square
#ECF57E #7EF5C3 #877EF5 #F57EB0
split-complementary
#ECF57E #7EB0F5 #C37EF5
monochromatic
#D7E712 #E4F145 #ECF57E #F4F9B7 #FBFDE3

Accessibility & contrast

On white

1.17
#ECF57E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.93
#ECF57E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF57E
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF57E#FFFFFF#000000##000000
##ECF57E1.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB73
Deuteranopia (green-blind)
#FFEE84
Tritanopia (blue-blind)
#F9E9DA
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf57e;
/* rgb */ color: rgb(236, 245, 126);
/* oklch */ color: oklch(93.9% 0.143 112.7);
Tailwind
colors: {
  custom: {
    50: '#f4f8a6',
    500: '#ecf57e',
    950: '#000000',
  },
}
SCSS
$custom: #ecf57e;
$custom-light: #f4f8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf57e",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 126
  },
  "hsl": {
    "h": 64.538,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93924,
    "c": 0.14327,
    "h": 112.7
  },
  "luminance": 0.84644
}

Semantic roles & 50–950 ramp

primary
#ECF57E
secondary
#5146D1
accent
#03E214
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171710
muted
#858580

Preview Lab

Preview with #ECF57E

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

Preview Lab → · Contrast checker → · Palette generator →

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