#ECDF78#ECDF78

#ECDF78 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.3% C 0.125 H 102.1°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#ECDF78
RGBrgb(236, 223, 120)
HSLhsl(53, 75%, 70%)
HSVhsv(53, 49%, 93%)
CMYKcmyk(0%, 5.5%, 49.2%, 7.5%)
CIE-LABlab(87.95, -8.98, 51.64)
CIE-LCHlch(87.95, 52.42, 99.86°)
OKLaboklab(89.3% -0.0264 0.1227)
OKLCHoklch(89.3% 0.125 102.1)
XYZxyz(64.3717, 71.9664, 28.2657)
Luminance0.7196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDF78 #7885EC
analogous
#ECA578 #ECDF78 #BFEC78
triadic
#ECDF78 #78ECDF #DF78EC
tetradic
#ECDF78 #78ECA5 #7885EC #EC78BF
square
#ECDF78 #78ECA5 #7885EC #EC78BF
split-complementary
#ECDF78 #78BFEC #A578EC
monochromatic
#CDB91D #E4D242 #ECDF78 #F4ECAE #FBF8E3

Accessibility & contrast

On white

1.36
#ECDF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.39
#ECDF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDF78
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDF78#FFFFFF#000000##000000
##ECDF781.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD96F
Deuteranopia (green-blind)
#F3DF7D
Tritanopia (blue-blind)
#FBD3C7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ecdf78;
/* rgb */ color: rgb(236, 223, 120);
/* oklch */ color: oklch(89.3% 0.125 102.1);
Tailwind
colors: {
  custom: {
    50: '#f4e8a1',
    500: '#ecdf78',
    950: '#000000',
  },
}
SCSS
$custom: #ecdf78;
$custom-light: #f4e8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdf78",
  "rgb": {
    "r": 236,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 53.276,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89304,
    "c": 0.12548,
    "h": 102.1
  },
  "luminance": 0.71964
}

Semantic roles & 50–950 ramp

primary
#ECDF78
secondary
#4352C5
accent
#25D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #ECDF78

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

Preview Lab → · Contrast checker → · Palette generator →

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