#ECFA68#ECFA68

#ECFA68 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 94.7% C 0.168 H 114.2°. Best body text is #000000 at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#ECFA68
RGBrgb(236, 250, 104)
HSLhsl(66, 94%, 69%)
HSVhsv(66, 58%, 98%)
CMYKcmyk(5.6%, 0%, 58.4%, 2%)
CIE-LABlab(94.83, -23.43, 66.73)
CIE-LCHlch(94.83, 70.72, 109.35°)
OKLaboklab(94.73% -0.0691 0.1536)
OKLCHoklch(94.73% 0.168 114.2)
XYZxyz(71.2779, 87.2048, 26.1714)
Luminance0.8720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA68 #7668FA
analogous
#FABF68 #ECFA68 #A3FA68
triadic
#ECFA68 #68ECFA #FA68EC
tetradic
#ECFA68 #68FABF #7668FA #FA68A3
square
#ECFA68 #68FABF #7668FA #FA68A3
split-complementary
#ECFA68 #68A3FA #BF68FA
monochromatic
#CBE007 #E5F82D #ECFA68 #F3FCA3 #FBFEDE

Accessibility & contrast

On white

1.14
#ECFA68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.44
#ECFA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA68
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA68#FFFFFF#000000##000000
##ECFA681.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF57
Deuteranopia (green-blind)
#FFF271
Tritanopia (blue-blind)
#FAEDDB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecfa68;
/* rgb */ color: rgb(236, 250, 104);
/* oklch */ color: oklch(94.7% 0.168 114.2);
Tailwind
colors: {
  custom: {
    50: '#f5fb98',
    500: '#ecfa68',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa68;
$custom-light: #f5fb98;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa68",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 104
  },
  "hsl": {
    "h": 65.753,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.9473,
    "c": 0.16844,
    "h": 114.2
  },
  "luminance": 0.87204
}

Semantic roles & 50–950 ramp

primary
#ECFA68
secondary
#4132D4
accent
#00E616
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECFA68

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

Preview Lab → · Contrast checker → · Palette generator →

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