#ECDB4D#ECDB4D

#ECDB4D is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.0% C 0.158 H 102.4°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#ECDB4D
RGBrgb(236, 219, 77)
HSLhsl(54, 81%, 61%)
HSVhsv(54, 67%, 93%)
CMYKcmyk(0%, 7.2%, 67.4%, 7.5%)
CIE-LABlab(86.52, -9.99, 68.82)
CIE-LCHlch(86.52, 69.54, 98.26°)
OKLaboklab(88.04% -0.0339 0.1542)
OKLCHoklch(88.04% 0.158 102.4)
XYZxyz(61.2657, 69.0343, 17.1175)
Luminance0.6903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB4D #4D5EEC
analogous
#EC8C4D #ECDB4D #AEEC4D
triadic
#ECDB4D #4DECDB #DB4DEC
tetradic
#ECDB4D #4DEC8C #4D5EEC #EC4DAE
square
#ECDB4D #4DEC8C #4D5EEC #EC4DAE
split-complementary
#ECDB4D #4DAEEC #8C4DEC
monochromatic
#AC9C12 #E4CE18 #ECDB4D #F2E684 #F8F1BC

Accessibility & contrast

On white

1.42
#ECDB4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.81
#ECDB4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB4D
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB4D#FFFFFF#000000##000000
##ECDB4D1.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED439
Deuteranopia (green-blind)
#F4DC56
Tritanopia (blue-blind)
#FDCCBE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecdb4d;
/* rgb */ color: rgb(236, 219, 77);
/* oklch */ color: oklch(88.0% 0.158 102.4);
Tailwind
colors: {
  custom: {
    50: '#f6e586',
    500: '#ecdb4d',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb4d;
$custom-light: #f6e586;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb4d",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 77
  },
  "hsl": {
    "h": 53.585,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88039,
    "c": 0.1579,
    "h": 102.4
  },
  "luminance": 0.69032
}

Semantic roles & 50–950 ramp

primary
#ECDB4D
secondary
#303DAD
accent
#1FDD08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECDB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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