#ECDE76#ECDE76

#ECDE76 is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 89.1% C 0.126 H 101.7°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#ECDE76
RGBrgb(236, 222, 118)
HSLhsl(53, 76%, 69%)
HSVhsv(53, 50%, 93%)
CMYKcmyk(0%, 5.9%, 50%, 7.5%)
CIE-LABlab(87.67, -8.65, 52.26)
CIE-LCHlch(87.67, 52.97, 99.40°)
OKLaboklab(89.07% -0.0257 0.1238)
OKLCHoklch(89.07% 0.126 101.7)
XYZxyz(63.9852, 71.3856, 27.5443)
Luminance0.7138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE76 #7684EC
analogous
#ECA376 #ECDE76 #BFEC76
triadic
#ECDE76 #76ECDE #DE76EC
tetradic
#ECDE76 #76ECA3 #7684EC #EC76BF
square
#ECDE76 #76ECA3 #7684EC #EC76BF
split-complementary
#ECDE76 #76BFEC #A376EC
monochromatic
#CBB71C #E5D140 #ECDE76 #F3EBAC #FBF8E1

Accessibility & contrast

On white

1.37
#ECDE76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.28
#ECDE76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE76
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE76#FFFFFF#000000##000000
##ECDE761.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD86D
Deuteranopia (green-blind)
#F3DF7B
Tritanopia (blue-blind)
#FBD1C6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecde76;
/* rgb */ color: rgb(236, 222, 118);
/* oklch */ color: oklch(89.1% 0.126 101.7);
Tailwind
colors: {
  custom: {
    50: '#f4e8a0',
    500: '#ecde76',
    950: '#000000',
  },
}
SCSS
$custom: #ecde76;
$custom-light: #f4e8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde76",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 118
  },
  "hsl": {
    "h": 52.881,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89074,
    "c": 0.12647,
    "h": 101.7
  },
  "luminance": 0.71383
}

Semantic roles & 50–950 ramp

primary
#ECDE76
secondary
#4151C5
accent
#26D80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #ECDE76

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

Preview Lab → · Contrast checker → · Palette generator →

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