#ECCF76#ECCF76

#ECCF76 is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 86.0% C 0.114 H 91.8°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#ECCF76
RGBrgb(236, 207, 118)
HSLhsl(45, 76%, 69%)
HSVhsv(45, 50%, 93%)
CMYKcmyk(0%, 12.3%, 50%, 7.5%)
CIE-LABlab(83.85, -1.03, 47.63)
CIE-LCHlch(83.85, 47.64, 91.24°)
OKLaboklab(86.05% -0.0036 0.1137)
OKLCHoklch(86.05% 0.114 91.8)
XYZxyz(60.1770, 63.7692, 26.2749)
Luminance0.6377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF76 #7693EC
analogous
#EC9476 #ECCF76 #CEEC76
triadic
#ECCF76 #76ECCF #CF76EC
tetradic
#ECCF76 #76EC94 #7693EC #EC76CE
square
#ECCF76 #76EC94 #7693EC #EC76CE
split-complementary
#ECCF76 #76CEEC #9476EC
monochromatic
#CBA01C #E5BC40 #ECCF76 #F3E2AC #FBF5E1

Accessibility & contrast

On white

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

On black

13.75
#ECCF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCF76
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCF76#FFFFFF#000000##000000
##ECCF761.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC6E
Deuteranopia (green-blind)
#E8D579
Tritanopia (blue-blind)
#FCC2BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #eccf76;
/* rgb */ color: rgb(236, 207, 118);
/* oklch */ color: oklch(86.0% 0.114 91.8);
Tailwind
colors: {
  custom: {
    50: '#f4dd9f',
    500: '#eccf76',
    950: '#000000',
  },
}
SCSS
$custom: #eccf76;
$custom-light: #f4dd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf76",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 118
  },
  "hsl": {
    "h": 45.254,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.86046,
    "c": 0.11372,
    "h": 91.8
  },
  "luminance": 0.63767
}

Semantic roles & 50–950 ramp

primary
#ECCF76
secondary
#4162C5
accent
#3FD80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECCF76

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

Preview Lab → · Contrast checker → · Palette generator →

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