#ECF57D#ECF57D

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

Color values

HEX#ECF57D
RGBrgb(236, 245, 125)
HSLhsl(65, 86%, 73%)
HSVhsv(65, 49%, 96%)
CMYKcmyk(3.7%, 0%, 49%, 3.9%)
CIE-LABlab(93.72, -19.37, 56.21)
CIE-LCHlch(93.72, 59.45, 109.01°)
OKLaboklab(93.91% -0.0556 0.1331)
OKLCHoklch(93.91% 0.144 112.7)
XYZxyz(70.9474, 84.6196, 31.9938)
Luminance0.8462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF57D #867DF5
analogous
#F5C27D #ECF57D #B0F57D
triadic
#ECF57D #7DECF5 #F57DEC
tetradic
#ECF57D #7DF5C2 #867DF5 #F57DB0
square
#ECF57D #7DF5C2 #867DF5 #F57DB0
split-complementary
#ECF57D #7DB0F5 #C27DF5
monochromatic
#D6E612 #E4F144 #ECF57D #F4F9B6 #FBFDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF57D#FFFFFF#000000##000000
##ECF57D1.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)
#FFEB72
Deuteranopia (green-blind)
#FFEE83
Tritanopia (blue-blind)
#F9E9DA
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf57d;
/* rgb */ color: rgb(236, 245, 125);
/* oklch */ color: oklch(93.9% 0.144 112.7);
Tailwind
colors: {
  custom: {
    50: '#f4f8a5',
    500: '#ecf57d',
    950: '#000000',
  },
}
SCSS
$custom: #ecf57d;
$custom-light: #f4f8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf57d",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 125
  },
  "hsl": {
    "h": 64.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93912,
    "c": 0.14423,
    "h": 112.7
  },
  "luminance": 0.84618
}

Semantic roles & 50–950 ramp

primary
#ECF57D
secondary
#5046D1
accent
#03E214
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF57D

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

Preview Lab → · Contrast checker → · Palette generator →

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