#ECF56A#ECF56A

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

Color values

HEX#ECF56A
RGBrgb(236, 245, 106)
HSLhsl(64, 87%, 69%)
HSVhsv(64, 57%, 96%)
CMYKcmyk(3.7%, 0%, 56.7%, 3.9%)
CIE-LABlab(93.53, -20.90, 64.44)
CIE-LCHlch(93.53, 67.75, 107.97°)
OKLaboklab(93.7% -0.0618 0.149)
OKLCHoklch(93.7% 0.161 112.5)
XYZxyz(69.8476, 84.1797, 26.2017)
Luminance0.8418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF56A #736AF5
analogous
#F5B96A #ECF56A #A7F56A
triadic
#ECF56A #6AECF5 #F56AEC
tetradic
#ECF56A #6AF5B9 #736AF5 #F56AA7
square
#ECF56A #6AF5B9 #736AF5 #F56AA7
split-complementary
#ECF56A #6AA7F5 #B96AF5
monochromatic
#C9D60E #E5F131 #ECF56A #F3F9A3 #FBFDDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF56A#FFFFFF#000000##000000
##ECF56A1.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)
#FFEB5B
Deuteranopia (green-blind)
#FFEE72
Tritanopia (blue-blind)
#FAE8D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf56a;
/* rgb */ color: rgb(236, 245, 106);
/* oklch */ color: oklch(93.7% 0.161 112.5);
Tailwind
colors: {
  custom: {
    50: '#f5f899',
    500: '#ecf56a',
    950: '#000000',
  },
}
SCSS
$custom: #ecf56a;
$custom-light: #f5f899;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf56a",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 106
  },
  "hsl": {
    "h": 63.885,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.93698,
    "c": 0.16128,
    "h": 112.5
  },
  "luminance": 0.84178
}

Semantic roles & 50–950 ramp

primary
#ECF56A
secondary
#3F35CE
accent
#02E410
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF56A

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

Preview Lab → · Contrast checker → · Palette generator →

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