#ECCF66#ECCF66

#ECCF66 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.8% C 0.129 H 94.1°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#ECCF66
RGBrgb(236, 207, 102)
HSLhsl(47, 78%, 66%)
HSVhsv(47, 57%, 93%)
CMYKcmyk(0%, 12.3%, 56.8%, 7.5%)
CIE-LABlab(83.66, -2.33, 55.04)
CIE-LCHlch(83.66, 55.09, 92.42°)
OKLaboklab(85.84% -0.0092 0.1283)
OKLCHoklch(85.84% 0.129 94.1)
XYZxyz(59.3056, 63.4206, 21.6854)
Luminance0.6342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF66 #6683EC
analogous
#EC8C66 #ECCF66 #C6EC66
triadic
#ECCF66 #66ECCF #CF66EC
tetradic
#ECCF66 #66EC8C #6683EC #EC66C6
square
#ECCF66 #66EC8C #6683EC #EC66C6
split-complementary
#ECCF66 #66C6EC #8C66EC
monochromatic
#C09B18 #E5BE30 #ECCF66 #F3E09C #FAF1D3

Accessibility & contrast

On white

1.53
#ECCF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#ECCF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCF66
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCF66#FFFFFF#000000##000000
##ECCF661.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB5C
Deuteranopia (green-blind)
#E9D46B
Tritanopia (blue-blind)
#FDC1B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #eccf66;
/* rgb */ color: rgb(236, 207, 102);
/* oklch */ color: oklch(85.8% 0.129 94.1);
Tailwind
colors: {
  custom: {
    50: '#f5dd95',
    500: '#eccf66',
    950: '#000000',
  },
}
SCSS
$custom: #eccf66;
$custom-light: #f5dd95;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf66",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 102
  },
  "hsl": {
    "h": 47.015,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85843,
    "c": 0.12866,
    "h": 94.1
  },
  "luminance": 0.63418
}

Semantic roles & 50–950 ramp

primary
#ECCF66
secondary
#3855BE
accent
#38DA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECCF66

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

Preview Lab → · Contrast checker → · Palette generator →

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