#ECDB78#ECDB78

#ECDB78 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.5% C 0.122 H 99.8°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#ECDB78
RGBrgb(236, 219, 120)
HSLhsl(51, 75%, 70%)
HSVhsv(51, 49%, 93%)
CMYKcmyk(0%, 7.2%, 49.2%, 7.5%)
CIE-LABlab(86.93, -6.97, 50.41)
CIE-LCHlch(86.93, 50.88, 97.87°)
OKLaboklab(88.49% -0.0206 0.1199)
OKLCHoklch(88.49% 0.122 99.8)
XYZxyz(63.3156, 69.8542, 27.9137)
Luminance0.6985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB78 #7889EC
analogous
#ECA178 #ECDB78 #C3EC78
triadic
#ECDB78 #78ECDB #DB78EC
tetradic
#ECDB78 #78ECA1 #7889EC #EC78C3
square
#ECDB78 #78ECA1 #7889EC #EC78C3
split-complementary
#ECDB78 #78C3EC #A178EC
monochromatic
#CDB31D #E4CD42 #ECDB78 #F4E9AE #FBF8E3

Accessibility & contrast

On white

1.40
#ECDB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#ECDB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB78
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB78#FFFFFF#000000##000000
##ECDB781.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66F
Deuteranopia (green-blind)
#F0DD7C
Tritanopia (blue-blind)
#FBCFC4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecdb78;
/* rgb */ color: rgb(236, 219, 120);
/* oklch */ color: oklch(88.5% 0.122 99.8);
Tailwind
colors: {
  custom: {
    50: '#f4e6a1',
    500: '#ecdb78',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb78;
$custom-light: #f4e6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb78",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 120
  },
  "hsl": {
    "h": 51.207,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88489,
    "c": 0.1217,
    "h": 99.8
  },
  "luminance": 0.69852
}

Semantic roles & 50–950 ramp

primary
#ECDB78
secondary
#4356C5
accent
#2CD70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECDB78

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

Preview Lab → · Contrast checker → · Palette generator →

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