#ECDA78#ECDA78

#ECDA78 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.3% C 0.121 H 99.1°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#ECDA78
RGBrgb(236, 218, 120)
HSLhsl(51, 75%, 70%)
HSVhsv(51, 49%, 93%)
CMYKcmyk(0%, 7.6%, 49.2%, 7.5%)
CIE-LABlab(86.67, -6.46, 50.10)
CIE-LCHlch(86.67, 50.51, 97.35°)
OKLaboklab(88.29% -0.0192 0.1193)
OKLCHoklch(88.29% 0.121 99.1)
XYZxyz(63.0555, 69.3340, 27.8270)
Luminance0.6933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA78 #788AEC
analogous
#ECA078 #ECDA78 #C4EC78
triadic
#ECDA78 #78ECDA #DA78EC
tetradic
#ECDA78 #78ECA0 #788AEC #EC78C4
square
#ECDA78 #78ECA0 #788AEC #EC78C4
split-complementary
#ECDA78 #78C4EC #A078EC
monochromatic
#CDB11D #E4CB42 #ECDA78 #F4E9AE #FBF7E3

Accessibility & contrast

On white

1.41
#ECDA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.87
#ECDA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDA78
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDA78#FFFFFF#000000##000000
##ECDA781.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD570
Deuteranopia (green-blind)
#F0DC7C
Tritanopia (blue-blind)
#FBCEC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecda78;
/* rgb */ color: rgb(236, 218, 120);
/* oklch */ color: oklch(88.3% 0.121 99.1);
Tailwind
colors: {
  custom: {
    50: '#f4e5a1',
    500: '#ecda78',
    950: '#000000',
  },
}
SCSS
$custom: #ecda78;
$custom-light: #f4e5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda78",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 120
  },
  "hsl": {
    "h": 50.69,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88287,
    "c": 0.12079,
    "h": 99.1
  },
  "luminance": 0.69332
}

Semantic roles & 50–950 ramp

primary
#ECDA78
secondary
#4357C5
accent
#2DD70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECDA78

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

Preview Lab → · Contrast checker → · Palette generator →

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