#ECF56D#ECF56D

#ECF56D is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 93.7% C 0.159 H 112.6°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#ECF56D
RGBrgb(236, 245, 109)
HSLhsl(64, 87%, 69%)
HSVhsv(64, 56%, 96%)
CMYKcmyk(3.7%, 0%, 55.5%, 3.9%)
CIE-LABlab(93.56, -20.68, 63.18)
CIE-LCHlch(93.56, 66.48, 108.12°)
OKLaboklab(93.73% -0.0609 0.1466)
OKLCHoklch(93.73% 0.159 112.6)
XYZxyz(70.0064, 84.2432, 27.0378)
Luminance0.8424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF56D #766DF5
analogous
#F5BA6D #ECF56D #A8F56D
triadic
#ECF56D #6DECF5 #F56DEC
tetradic
#ECF56D #6DF5BA #766DF5 #F56DA8
square
#ECF56D #6DF5BA #766DF5 #F56DA8
split-complementary
#ECF56D #6DA8F5 #BA6DF5
monochromatic
#CBD90F #E5F134 #ECF56D #F3F9A6 #FBFDE0

Accessibility & contrast

On white

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

On black

17.85
#ECF56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF56D
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF56D#FFFFFF#000000##000000
##ECF56D1.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5F
Deuteranopia (green-blind)
#FFEE75
Tritanopia (blue-blind)
#FAE8D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf56d;
/* rgb */ color: rgb(236, 245, 109);
/* oklch */ color: oklch(93.7% 0.159 112.6);
Tailwind
colors: {
  custom: {
    50: '#f5f89b',
    500: '#ecf56d',
    950: '#000000',
  },
}
SCSS
$custom: #ecf56d;
$custom-light: #f5f89b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf56d",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 109
  },
  "hsl": {
    "h": 63.971,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93729,
    "c": 0.15874,
    "h": 112.6
  },
  "luminance": 0.84242
}

Semantic roles & 50–950 ramp

primary
#ECF56D
secondary
#4137CF
accent
#02E411
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF56D

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

Preview Lab → · Contrast checker → · Palette generator →

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