#ECFC68#ECFC68

#ECFC68 is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.2% C 0.171 H 114.9°. Best body text is #000000 at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#ECFC68
RGBrgb(236, 252, 104)
HSLhsl(66, 96%, 70%)
HSVhsv(66, 59%, 99%)
CMYKcmyk(6.3%, 0%, 58.7%, 1.2%)
CIE-LABlab(95.35, -24.38, 67.31)
CIE-LCHlch(95.35, 71.58, 109.91°)
OKLaboklab(95.15% -0.0718 0.1548)
OKLCHoklch(95.15% 0.171 114.9)
XYZxyz(71.9027, 88.4543, 26.3796)
Luminance0.8845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC68 #7868FC
analogous
#FCC268 #ECFC68 #A2FC68
triadic
#ECFC68 #68ECFC #FC68EC
tetradic
#ECFC68 #68FCC2 #7868FC #FC68A2
square
#ECFC68 #68FCC2 #7868FC #FC68A2
split-complementary
#ECFC68 #68A2FC #C268FC
monochromatic
#CDE505 #E4FB2C #ECFC68 #F4FDA4 #FBFEE0

Accessibility & contrast

On white

1.12
#ECFC68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.69
#ECFC68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC68
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC68#FFFFFF#000000##000000
##ECFC681.001.1218.6918.69
#FFFFFF1.121.0021.0021.00
#00000018.6921.001.001.00
##00000018.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF057
Deuteranopia (green-blind)
#FFF371
Tritanopia (blue-blind)
#FAEFDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfc68;
/* rgb */ color: rgb(236, 252, 104);
/* oklch */ color: oklch(95.2% 0.171 114.9);
Tailwind
colors: {
  custom: {
    50: '#f5fd98',
    500: '#ecfc68',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc68;
$custom-light: #f5fd98;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc68",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 104
  },
  "hsl": {
    "h": 66.486,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.95151,
    "c": 0.17067,
    "h": 114.9
  },
  "luminance": 0.88453
}

Semantic roles & 50–950 ramp

primary
#ECFC68
secondary
#4331D7
accent
#00E619
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECFC68

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

Preview Lab → · Contrast checker → · Palette generator →

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