#ECDB4E#ECDB4E

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

Color values

HEX#ECDB4E
RGBrgb(236, 219, 78)
HSLhsl(54, 81%, 62%)
HSVhsv(54, 67%, 93%)
CMYKcmyk(0%, 7.2%, 66.9%, 7.5%)
CIE-LABlab(86.53, -9.93, 68.44)
CIE-LCHlch(86.53, 69.16, 98.26°)
OKLaboklab(88.05% -0.0337 0.1536)
OKLCHoklch(88.05% 0.157 102.4)
XYZxyz(61.3013, 69.0485, 17.3049)
Luminance0.6905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB4E #4E5FEC
analogous
#EC8C4E #ECDB4E #AEEC4E
triadic
#ECDB4E #4EECDB #DB4EEC
tetradic
#ECDB4E #4EEC8C #4E5FEC #EC4EAE
square
#ECDB4E #4EEC8C #4E5FEC #EC4EAE
split-complementary
#ECDB4E #4EAEEC #8C4EEC
monochromatic
#AD9C13 #E4CE19 #ECDB4E #F2E685 #F8F1BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECDB4E#FFFFFF#000000##000000
##ECDB4E1.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)
#EED43A
Deuteranopia (green-blind)
#F3DC57
Tritanopia (blue-blind)
#FDCCBE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecdb4e;
/* rgb */ color: rgb(236, 219, 78);
/* oklch */ color: oklch(88.0% 0.157 102.4);
Tailwind
colors: {
  custom: {
    50: '#f6e587',
    500: '#ecdb4e',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb4e;
$custom-light: #f6e587;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb4e",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 78
  },
  "hsl": {
    "h": 53.544,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.88046,
    "c": 0.15722,
    "h": 102.4
  },
  "luminance": 0.69046
}

Semantic roles & 50–950 ramp

primary
#ECDB4E
secondary
#303EAE
accent
#1FDD09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECDB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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