#ECF56F#ECF56F

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

Color values

HEX#ECF56F
RGBrgb(236, 245, 111)
HSLhsl(64, 87%, 70%)
HSVhsv(64, 55%, 96%)
CMYKcmyk(3.7%, 0%, 54.7%, 3.9%)
CIE-LABlab(93.57, -20.52, 62.33)
CIE-LCHlch(93.57, 65.62, 108.23°)
OKLaboklab(93.75% -0.0602 0.145)
OKLCHoklch(93.75% 0.157 112.6)
XYZxyz(70.1153, 84.2867, 27.6112)
Luminance0.8428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF56F #786FF5
analogous
#F5BB6F #ECF56F #A9F56F
triadic
#ECF56F #6FECF5 #F56FEC
tetradic
#ECF56F #6FF5BB #786FF5 #F56FA9
square
#ECF56F #6FF5BB #786FF5 #F56FA9
split-complementary
#ECF56F #6FA9F5 #BB6FF5
monochromatic
#CDDA0F #E4F136 #ECF56F #F4F9A8 #FBFDE1

Accessibility & contrast

On white

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

On black

17.86
#ECF56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF56F
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF56F#FFFFFF#000000##000000
##ECF56F1.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB61
Deuteranopia (green-blind)
#FFEE77
Tritanopia (blue-blind)
#FAE8D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf56f;
/* rgb */ color: rgb(236, 245, 111);
/* oklch */ color: oklch(93.8% 0.157 112.6);
Tailwind
colors: {
  custom: {
    50: '#f5f89c',
    500: '#ecf56f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf56f;
$custom-light: #f5f89c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf56f",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 111
  },
  "hsl": {
    "h": 64.03,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.9375,
    "c": 0.15702,
    "h": 112.6
  },
  "luminance": 0.84285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECF56F

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

Preview Lab → · Contrast checker → · Palette generator →

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