#ECF868#ECF868

#ECF868 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.3% C 0.166 H 113.6°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#ECF868
RGBrgb(236, 248, 104)
HSLhsl(65, 91%, 69%)
HSVhsv(65, 58%, 97%)
CMYKcmyk(4.8%, 0%, 58.1%, 2.7%)
CIE-LABlab(94.30, -22.48, 66.15)
CIE-LCHlch(94.30, 69.86, 108.77°)
OKLaboklab(94.31% -0.0665 0.1524)
OKLCHoklch(94.31% 0.166 113.6)
XYZxyz(70.6598, 85.9684, 25.9653)
Luminance0.8597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF868 #7468F8
analogous
#F8BC68 #ECF868 #A4F868
triadic
#ECF868 #68ECF8 #F868EC
tetradic
#ECF868 #68F8BC #7468F8 #F868A4
square
#ECF868 #68F8BC #7468F8 #F868A4
split-complementary
#ECF868 #68A4F8 #BC68F8
monochromatic
#CADB0A #E5F52E #ECF868 #F3FBA2 #FBFDDD

Accessibility & contrast

On white

1.15
#ECF868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.19
#ECF868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF868
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF868#FFFFFF#000000##000000
##ECF8681.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED58
Deuteranopia (green-blind)
#FFF071
Tritanopia (blue-blind)
#FAEBD9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf868;
/* rgb */ color: rgb(236, 248, 104);
/* oklch */ color: oklch(94.3% 0.166 113.6);
Tailwind
colors: {
  custom: {
    50: '#f5fa98',
    500: '#ecf868',
    950: '#000000',
  },
}
SCSS
$custom: #ecf868;
$custom-light: #f5fa98;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf868",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 104
  },
  "hsl": {
    "h": 65,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.94308,
    "c": 0.16622,
    "h": 113.6
  },
  "luminance": 0.85967
}

Semantic roles & 50–950 ramp

primary
#ECF868
secondary
#4032D2
accent
#00E613
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF868

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

Preview Lab → · Contrast checker → · Palette generator →

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