#ECDE5F#ECDE5F

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

Color values

HEX#ECDE5F
RGBrgb(236, 222, 95)
HSLhsl(54, 79%, 65%)
HSVhsv(54, 60%, 93%)
CMYKcmyk(0%, 5.9%, 59.7%, 7.5%)
CIE-LABlab(87.44, -10.41, 62.42)
CIE-LCHlch(87.44, 63.28, 99.47°)
OKLaboklab(88.81% -0.0332 0.1433)
OKLCHoklch(88.81% 0.147 103)
XYZxyz(62.7812, 70.9040, 21.2031)
Luminance0.7090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE5F #5F6DEC
analogous
#EC985F #ECDE5F #B3EC5F
triadic
#ECDE5F #5FECDE #DE5FEC
tetradic
#ECDE5F #5FEC98 #5F6DEC #EC5FB3
square
#ECDE5F #5FEC98 #5F6DEC #EC5FB3
split-complementary
#ECDE5F #5FB3EC #985FEC
monochromatic
#BAAA16 #E6D328 #ECDE5F #F2E996 #F9F5CC

Accessibility & contrast

On white

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

On black

15.18
#ECDE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE5F
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE5F#FFFFFF#000000##000000
##ECDE5F1.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D751
Deuteranopia (green-blind)
#F5DE66
Tritanopia (blue-blind)
#FCD0C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecde5f;
/* rgb */ color: rgb(236, 222, 95);
/* oklch */ color: oklch(88.8% 0.147 103.0);
Tailwind
colors: {
  custom: {
    50: '#f5e891',
    500: '#ecde5f',
    950: '#000000',
  },
}
SCSS
$custom: #ecde5f;
$custom-light: #f5e891;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde5f",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 95
  },
  "hsl": {
    "h": 54.043,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88813,
    "c": 0.14709,
    "h": 103
  },
  "luminance": 0.70902
}

Semantic roles & 50–950 ramp

primary
#ECDE5F
secondary
#3643BA
accent
#1FDB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECDE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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