#ECDE5D#ECDE5D

#ECDE5D is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.8% C 0.149 H 103.1°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#ECDE5D
RGBrgb(236, 222, 93)
HSLhsl(54, 79%, 65%)
HSVhsv(54, 61%, 93%)
CMYKcmyk(0%, 5.9%, 60.6%, 7.5%)
CIE-LABlab(87.42, -10.54, 63.26)
CIE-LCHlch(87.42, 64.13, 99.46°)
OKLaboklab(88.79% -0.0338 0.1448)
OKLCHoklch(88.79% 0.149 103.1)
XYZxyz(62.6914, 70.8681, 20.7304)
Luminance0.7087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE5D #5D6BEC
analogous
#EC975D #ECDE5D #B3EC5D
triadic
#ECDE5D #5DECDE #DE5DEC
tetradic
#ECDE5D #5DEC97 #5D6BEC #EC5DB3
square
#ECDE5D #5DEC97 #5D6BEC #EC5DB3
split-complementary
#ECDE5D #5DB3EC #975DEC
monochromatic
#B9A916 #E6D326 #ECDE5D #F2E994 #F9F4CB

Accessibility & contrast

On white

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

On black

15.17
#ECDE5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE5D
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE5D#FFFFFF#000000##000000
##ECDE5D1.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D74E
Deuteranopia (green-blind)
#F5DE64
Tritanopia (blue-blind)
#FCD0C2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecde5d;
/* rgb */ color: rgb(236, 222, 93);
/* oklch */ color: oklch(88.8% 0.149 103.1);
Tailwind
colors: {
  custom: {
    50: '#f5e890',
    500: '#ecde5d',
    950: '#000000',
  },
}
SCSS
$custom: #ecde5d;
$custom-light: #f5e890;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde5d",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 93
  },
  "hsl": {
    "h": 54.126,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88794,
    "c": 0.14871,
    "h": 103.1
  },
  "luminance": 0.70866
}

Semantic roles & 50–950 ramp

primary
#ECDE5D
secondary
#3542B8
accent
#1FDB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECDE5D

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

Preview Lab → · Contrast checker → · Palette generator →

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