#ECF56C#ECF56C

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

Color values

HEX#ECF56C
RGBrgb(236, 245, 108)
HSLhsl(64, 87%, 69%)
HSVhsv(64, 56%, 96%)
CMYKcmyk(3.7%, 0%, 55.9%, 3.9%)
CIE-LABlab(93.55, -20.75, 63.60)
CIE-LCHlch(93.55, 66.90, 108.07°)
OKLaboklab(93.72% -0.0612 0.1474)
OKLCHoklch(93.72% 0.16 112.5)
XYZxyz(69.9529, 84.2218, 26.7559)
Luminance0.8422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF56C #756CF5
analogous
#F5BA6C #ECF56C #A8F56C
triadic
#ECF56C #6CECF5 #F56CEC
tetradic
#ECF56C #6CF5BA #756CF5 #F56CA8
square
#ECF56C #6CF5BA #756CF5 #F56CA8
split-complementary
#ECF56C #6CA8F5 #BA6CF5
monochromatic
#CBD80F #E5F133 #ECF56C #F3F9A5 #FBFDDF

Accessibility & contrast

On white

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

On black

17.84
#ECF56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF56C
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF56C#FFFFFF#000000##000000
##ECF56C1.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf56c;
/* rgb */ color: rgb(236, 245, 108);
/* oklch */ color: oklch(93.7% 0.160 112.5);
Tailwind
colors: {
  custom: {
    50: '#f5f89a',
    500: '#ecf56c',
    950: '#000000',
  },
}
SCSS
$custom: #ecf56c;
$custom-light: #f5f89a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf56c",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 108
  },
  "hsl": {
    "h": 63.942,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.93719,
    "c": 0.15959,
    "h": 112.5
  },
  "luminance": 0.8422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECF56C

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

Preview Lab → · Contrast checker → · Palette generator →

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