#ECF57C#ECF57C

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

Color values

HEX#ECF57C
RGBrgb(236, 245, 124)
HSLhsl(64, 86%, 72%)
HSVhsv(64, 49%, 96%)
CMYKcmyk(3.7%, 0%, 49.4%, 3.9%)
CIE-LABlab(93.71, -19.45, 56.65)
CIE-LCHlch(93.71, 59.90, 108.95°)
OKLaboklab(93.9% -0.0559 0.134)
OKLCHoklch(93.9% 0.145 112.7)
XYZxyz(70.8839, 84.5942, 31.6591)
Luminance0.8459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF57C #857CF5
analogous
#F5C27C #ECF57C #AFF57C
triadic
#ECF57C #7CECF5 #F57CEC
tetradic
#ECF57C #7CF5C2 #857CF5 #F57CAF
square
#ECF57C #7CF5C2 #857CF5 #F57CAF
split-complementary
#ECF57C #7CAFF5 #C27CF5
monochromatic
#D5E511 #E4F143 #ECF57C #F4F9B5 #FBFDE3

Accessibility & contrast

On white

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

On black

17.92
#ECF57C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF57C
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF57C#FFFFFF#000000##000000
##ECF57C1.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB71
Deuteranopia (green-blind)
#FFEE82
Tritanopia (blue-blind)
#F9E9D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf57c;
/* rgb */ color: rgb(236, 245, 124);
/* oklch */ color: oklch(93.9% 0.145 112.7);
Tailwind
colors: {
  custom: {
    50: '#f4f8a5',
    500: '#ecf57c',
    950: '#000000',
  },
}
SCSS
$custom: #ecf57c;
$custom-light: #f4f8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf57c",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 124
  },
  "hsl": {
    "h": 64.463,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.93899,
    "c": 0.14518,
    "h": 112.7
  },
  "luminance": 0.84593
}

Semantic roles & 50–950 ramp

primary
#ECF57C
secondary
#4F45D1
accent
#03E214
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF57C

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

Preview Lab → · Contrast checker → · Palette generator →

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