#ECF56E#ECF56E

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

Color values

HEX#ECF56E
RGBrgb(236, 245, 110)
HSLhsl(64, 87%, 70%)
HSVhsv(64, 55%, 96%)
CMYKcmyk(3.7%, 0%, 55.1%, 3.9%)
CIE-LABlab(93.57, -20.60, 62.76)
CIE-LCHlch(93.57, 66.05, 108.17°)
OKLaboklab(93.74% -0.0606 0.1458)
OKLCHoklch(93.74% 0.158 112.6)
XYZxyz(70.0605, 84.2648, 27.3229)
Luminance0.8426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF56E #776EF5
analogous
#F5BB6E #ECF56E #A9F56E
triadic
#ECF56E #6EECF5 #F56EEC
tetradic
#ECF56E #6EF5BB #776EF5 #F56EA9
square
#ECF56E #6EF5BB #776EF5 #F56EA9
split-complementary
#ECF56E #6EA9F5 #BB6EF5
monochromatic
#CCDA0F #E4F135 #ECF56E #F4F9A7 #FBFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF56E#FFFFFF#000000##000000
##ECF56E1.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)
#FFEB60
Deuteranopia (green-blind)
#FFEE76
Tritanopia (blue-blind)
#FAE8D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf56e;
/* rgb */ color: rgb(236, 245, 110);
/* oklch */ color: oklch(93.7% 0.158 112.6);
Tailwind
colors: {
  custom: {
    50: '#f5f89c',
    500: '#ecf56e',
    950: '#000000',
  },
}
SCSS
$custom: #ecf56e;
$custom-light: #f5f89c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf56e",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 110
  },
  "hsl": {
    "h": 64,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.9374,
    "c": 0.15788,
    "h": 112.6
  },
  "luminance": 0.84263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECF56E

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

Preview Lab → · Contrast checker → · Palette generator →

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