#ECF968#ECF968

#ECF968 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.5% C 0.167 H 113.9°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#ECF968
RGBrgb(236, 249, 104)
HSLhsl(65, 92%, 69%)
HSVhsv(65, 58%, 98%)
CMYKcmyk(5.2%, 0%, 58.2%, 2.4%)
CIE-LABlab(94.56, -22.95, 66.44)
CIE-LCHlch(94.56, 70.29, 109.06°)
OKLaboklab(94.52% -0.0678 0.153)
OKLCHoklch(94.52% 0.167 113.9)
XYZxyz(70.9680, 86.5849, 26.0681)
Luminance0.8658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF968 #7568F9
analogous
#F9BD68 #ECF968 #A4F968
triadic
#ECF968 #68ECF9 #F968EC
tetradic
#ECF968 #68F9BD #7568F9 #F968A4
square
#ECF968 #68F9BD #7568F9 #F968A4
split-complementary
#ECF968 #68A4F9 #BD68F9
monochromatic
#CBDE09 #E5F72D #ECF968 #F3FBA3 #FBFEDE

Accessibility & contrast

On white

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

On black

18.32
#ECF968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF968
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF968#FFFFFF#000000##000000
##ECF9681.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE58
Deuteranopia (green-blind)
#FFF171
Tritanopia (blue-blind)
#FAECDA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf968;
/* rgb */ color: rgb(236, 249, 104);
/* oklch */ color: oklch(94.5% 0.167 113.9);
Tailwind
colors: {
  custom: {
    50: '#f5fb98',
    500: '#ecf968',
    950: '#000000',
  },
}
SCSS
$custom: #ecf968;
$custom-light: #f5fb98;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf968",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 104
  },
  "hsl": {
    "h": 65.379,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.94519,
    "c": 0.16733,
    "h": 113.9
  },
  "luminance": 0.86584
}

Semantic roles & 50–950 ramp

primary
#ECF968
secondary
#4132D3
accent
#00E615
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF968

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

Preview Lab → · Contrast checker → · Palette generator →

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