#ECDD76#ECDD76

#ECDD76 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.9% C 0.126 H 101.1°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#ECDD76
RGBrgb(236, 221, 118)
HSLhsl(52, 76%, 69%)
HSVhsv(52, 50%, 93%)
CMYKcmyk(0%, 6.4%, 50%, 7.5%)
CIE-LABlab(87.42, -8.15, 51.95)
CIE-LCHlch(87.42, 52.58, 98.91°)
OKLaboklab(88.87% -0.0242 0.1232)
OKLCHoklch(88.87% 0.126 101.1)
XYZxyz(63.7204, 70.8560, 27.4561)
Luminance0.7085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD76 #7685EC
analogous
#ECA276 #ECDD76 #C0EC76
triadic
#ECDD76 #76ECDD #DD76EC
tetradic
#ECDD76 #76ECA2 #7685EC #EC76C0
square
#ECDD76 #76ECA2 #7685EC #EC76C0
split-complementary
#ECDD76 #76C0EC #A276EC
monochromatic
#CBB51C #E5D040 #ECDD76 #F3EAAC #FBF8E1

Accessibility & contrast

On white

1.38
#ECDD76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.17
#ECDD76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD76
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD76#FFFFFF#000000##000000
##ECDD761.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED76D
Deuteranopia (green-blind)
#F2DE7B
Tritanopia (blue-blind)
#FBD0C5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecdd76;
/* rgb */ color: rgb(236, 221, 118);
/* oklch */ color: oklch(88.9% 0.126 101.1);
Tailwind
colors: {
  custom: {
    50: '#f4e7a0',
    500: '#ecdd76',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd76;
$custom-light: #f4e7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd76",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 118
  },
  "hsl": {
    "h": 52.373,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.8887,
    "c": 0.12553,
    "h": 101.1
  },
  "luminance": 0.70854
}

Semantic roles & 50–950 ramp

primary
#ECDD76
secondary
#4152C5
accent
#27D80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #ECDD76

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

Preview Lab → · Contrast checker → · Palette generator →

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