#ECF387#ECF387

#ECF387 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.6% C 0.132 H 111.9°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#ECF387
RGBrgb(236, 243, 135)
HSLhsl(64, 82%, 74%)
HSVhsv(64, 44%, 95%)
CMYKcmyk(2.9%, 0%, 44.4%, 4.7%)
CIE-LABlab(93.31, -17.47, 51.04)
CIE-LCHlch(93.31, 53.95, 108.89°)
OKLaboklab(93.63% -0.0493 0.1225)
OKLCHoklch(93.63% 0.132 111.9)
XYZxyz(71.0169, 83.6845, 35.3286)
Luminance0.8368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF387 #8E87F3
analogous
#F3C487 #ECF387 #B6F387
triadic
#ECF387 #87ECF3 #F387EC
tetradic
#ECF387 #87F3C4 #8E87F3 #F387B6
square
#ECF387 #87F3C4 #8E87F3 #F387B6
split-complementary
#ECF387 #87B6F3 #C487F3
monochromatic
#DAE818 #E3ED4F #ECF387 #F5F9BF #FBFCE3

Accessibility & contrast

On white

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

On black

17.74
#ECF387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF387
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF387#FFFFFF#000000##000000
##ECF3871.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7E
Deuteranopia (green-blind)
#FFED8C
Tritanopia (blue-blind)
#F8E8D9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf387;
/* rgb */ color: rgb(236, 243, 135);
/* oklch */ color: oklch(93.6% 0.132 111.9);
Tailwind
colors: {
  custom: {
    50: '#f4f7ac',
    500: '#ecf387',
    950: '#000000',
  },
}
SCSS
$custom: #ecf387;
$custom-light: #f4f7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf387",
  "rgb": {
    "r": 236,
    "g": 243,
    "b": 135
  },
  "hsl": {
    "h": 63.889,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.93626,
    "c": 0.13201,
    "h": 111.9
  },
  "luminance": 0.83683
}

Semantic roles & 50–950 ramp

primary
#ECF387
secondary
#574FCF
accent
#07DE15
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF387

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

Preview Lab → · Contrast checker → · Palette generator →

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