#ECD778#ECD778

#ECD778 is a very light, moderate yellow. Relative luminance 0.678; OKLCH L 87.7% C 0.118 H 97.2°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#ECD778
RGBrgb(236, 215, 120)
HSLhsl(49, 75%, 70%)
HSVhsv(49, 49%, 93%)
CMYKcmyk(0%, 8.9%, 49.2%, 7.5%)
CIE-LABlab(85.90, -4.94, 49.17)
CIE-LCHlch(85.90, 49.41, 95.74°)
OKLaboklab(87.68% -0.0148 0.1172)
OKLCHoklch(87.68% 0.118 97.2)
XYZxyz(62.2846, 67.7922, 27.5700)
Luminance0.6779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD778 #788DEC
analogous
#EC9D78 #ECD778 #C7EC78
triadic
#ECD778 #78ECD7 #D778EC
tetradic
#ECD778 #78EC9D #788DEC #EC78C7
square
#ECD778 #78EC9D #788DEC #EC78C7
split-complementary
#ECD778 #78C7EC #9D78EC
monochromatic
#CDAD1D #E4C742 #ECD778 #F4E7AE #FBF7E3

Accessibility & contrast

On white

1.44
#ECD778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#ECD778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD778
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD778#FFFFFF#000000##000000
##ECD7781.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D370
Deuteranopia (green-blind)
#EDDA7C
Tritanopia (blue-blind)
#FBCBC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd778;
/* rgb */ color: rgb(236, 215, 120);
/* oklch */ color: oklch(87.7% 0.118 97.2);
Tailwind
colors: {
  custom: {
    50: '#f4e3a1',
    500: '#ecd778',
    950: '#000000',
  },
}
SCSS
$custom: #ecd778;
$custom-light: #f4e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd778",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 120
  },
  "hsl": {
    "h": 49.138,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.8768,
    "c": 0.11814,
    "h": 97.2
  },
  "luminance": 0.6779
}

Semantic roles & 50–950 ramp

primary
#ECD778
secondary
#435BC5
accent
#32D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD778

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

Preview Lab → · Contrast checker → · Palette generator →

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