#ECDD78#ECDD78

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

Color values

HEX#ECDD78
RGBrgb(236, 221, 120)
HSLhsl(52, 75%, 70%)
HSVhsv(52, 49%, 93%)
CMYKcmyk(0%, 6.4%, 49.2%, 7.5%)
CIE-LABlab(87.44, -7.97, 51.02)
CIE-LCHlch(87.44, 51.64, 98.88°)
OKLaboklab(88.9% -0.0235 0.1213)
OKLCHoklch(88.9% 0.124 101)
XYZxyz(63.8405, 70.9040, 28.0886)
Luminance0.7090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD78 #7887EC
analogous
#ECA378 #ECDD78 #C1EC78
triadic
#ECDD78 #78ECDD #DD78EC
tetradic
#ECDD78 #78ECA3 #7887EC #EC78C1
square
#ECDD78 #78ECA3 #7887EC #EC78C1
split-complementary
#ECDD78 #78C1EC #A378EC
monochromatic
#CDB61D #E4CF42 #ECDD78 #F4EBAE #FBF8E3

Accessibility & contrast

On white

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

On black

15.18
#ECDD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD78
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD78#FFFFFF#000000##000000
##ECDD781.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD86F
Deuteranopia (green-blind)
#F2DE7C
Tritanopia (blue-blind)
#FBD1C5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecdd78;
/* rgb */ color: rgb(236, 221, 120);
/* oklch */ color: oklch(88.9% 0.124 101.0);
Tailwind
colors: {
  custom: {
    50: '#f4e7a1',
    500: '#ecdd78',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd78;
$custom-light: #f4e7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd78",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 120
  },
  "hsl": {
    "h": 52.241,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88896,
    "c": 0.12357,
    "h": 101
  },
  "luminance": 0.70902
}

Semantic roles & 50–950 ramp

primary
#ECDD78
secondary
#4354C5
accent
#28D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #ECDD78

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

Preview Lab → · Contrast checker → · Palette generator →

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