#ECF56B#ECF56B

#ECF56B 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#ECF56B
RGBrgb(236, 245, 107)
HSLhsl(64, 87%, 69%)
HSVhsv(64, 56%, 96%)
CMYKcmyk(3.7%, 0%, 56.3%, 3.9%)
CIE-LABlab(93.54, -20.83, 64.02)
CIE-LCHlch(93.54, 67.33, 108.02°)
OKLaboklab(93.71% -0.0615 0.1482)
OKLCHoklch(93.71% 0.16 112.5)
XYZxyz(69.9000, 84.2006, 26.4772)
Luminance0.8420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF56B #746BF5
analogous
#F5B96B #ECF56B #A7F56B
triadic
#ECF56B #6BECF5 #F56BEC
tetradic
#ECF56B #6BF5B9 #746BF5 #F56BA7
square
#ECF56B #6BF5B9 #746BF5 #F56BA7
split-complementary
#ECF56B #6BA7F5 #B96BF5
monochromatic
#CAD70F #E5F132 #ECF56B #F3F9A4 #FBFDDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF56B#FFFFFF#000000##000000
##ECF56B1.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)
#FFEB5C
Deuteranopia (green-blind)
#FFEE73
Tritanopia (blue-blind)
#FAE8D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf56b;
/* rgb */ color: rgb(236, 245, 107);
/* oklch */ color: oklch(93.7% 0.160 112.5);
Tailwind
colors: {
  custom: {
    50: '#f5f89a',
    500: '#ecf56b',
    950: '#000000',
  },
}
SCSS
$custom: #ecf56b;
$custom-light: #f5f89a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf56b",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 107
  },
  "hsl": {
    "h": 63.913,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.93708,
    "c": 0.16044,
    "h": 112.5
  },
  "luminance": 0.84199
}

Semantic roles & 50–950 ramp

primary
#ECF56B
secondary
#4036CE
accent
#02E410
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF56B

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

Preview Lab → · Contrast checker → · Palette generator →

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