#ECF867#ECF867

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

Color values

HEX#ECF867
RGBrgb(236, 248, 103)
HSLhsl(65, 91%, 69%)
HSVhsv(65, 58%, 97%)
CMYKcmyk(4.8%, 0%, 58.5%, 2.7%)
CIE-LABlab(94.29, -22.55, 66.56)
CIE-LCHlch(94.29, 70.27, 108.72°)
OKLaboklab(94.3% -0.0668 0.1531)
OKLCHoklch(94.3% 0.167 113.6)
XYZxyz(70.6093, 85.9482, 25.6994)
Luminance0.8595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF867 #7367F8
analogous
#F8BC67 #ECF867 #A4F867
triadic
#ECF867 #67ECF8 #F867EC
tetradic
#ECF867 #67F8BC #7367F8 #F867A4
square
#ECF867 #67F8BC #7367F8 #F867A4
split-complementary
#ECF867 #67A4F8 #BC67F8
monochromatic
#C9DB0A #E5F52C #ECF867 #F3FBA2 #FBFDDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF867#FFFFFF#000000##000000
##ECF8671.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)
#FFED57
Deuteranopia (green-blind)
#FFF070
Tritanopia (blue-blind)
#FAEBD9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf867;
/* rgb */ color: rgb(236, 248, 103);
/* oklch */ color: oklch(94.3% 0.167 113.6);
Tailwind
colors: {
  custom: {
    50: '#f5fa98',
    500: '#ecf867',
    950: '#000000',
  },
}
SCSS
$custom: #ecf867;
$custom-light: #f5fa98;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf867",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 103
  },
  "hsl": {
    "h": 64.966,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94299,
    "c": 0.16703,
    "h": 113.6
  },
  "luminance": 0.85947
}

Semantic roles & 50–950 ramp

primary
#ECF867
secondary
#3F32D2
accent
#00E613
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF867

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

Preview Lab → · Contrast checker → · Palette generator →

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