#ECDE5A#ECDE5A

#ECDE5A is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.8% C 0.151 H 103.3°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#ECDE5A
RGBrgb(236, 222, 90)
HSLhsl(54, 79%, 64%)
HSVhsv(54, 62%, 93%)
CMYKcmyk(0%, 5.9%, 61.9%, 7.5%)
CIE-LABlab(87.40, -10.73, 64.49)
CIE-LCHlch(87.40, 65.38, 99.45°)
OKLaboklab(88.77% -0.0347 0.147)
OKLCHoklch(88.77% 0.151 103.3)
XYZxyz(62.5612, 70.8160, 20.0443)
Luminance0.7081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE5A #5A68EC
analogous
#EC955A #ECDE5A #B1EC5A
triadic
#ECDE5A #5AECDE #DE5AEC
tetradic
#ECDE5A #5AEC95 #5A68EC #EC5AB1
square
#ECDE5A #5AEC95 #5A68EC #EC5AB1
split-complementary
#ECDE5A #5AB1EC #955AEC
monochromatic
#B7A715 #E6D323 #ECDE5A #F2E991 #F9F4C8

Accessibility & contrast

On white

1.38
#ECDE5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.16
#ECDE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE5A
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE5A#FFFFFF#000000##000000
##ECDE5A1.001.3815.1615.16
#FFFFFF1.381.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D74A
Deuteranopia (green-blind)
#F5DE61
Tritanopia (blue-blind)
#FDD0C2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecde5a;
/* rgb */ color: rgb(236, 222, 90);
/* oklch */ color: oklch(88.8% 0.151 103.3);
Tailwind
colors: {
  custom: {
    50: '#f5e88e',
    500: '#ecde5a',
    950: '#000000',
  },
}
SCSS
$custom: #ecde5a;
$custom-light: #f5e88e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde5a",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 90
  },
  "hsl": {
    "h": 54.247,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.88765,
    "c": 0.15107,
    "h": 103.3
  },
  "luminance": 0.70814
}

Semantic roles & 50–950 ramp

primary
#ECDE5A
secondary
#3441B6
accent
#1EDC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #ECDE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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