#ECDE6F#ECDE6F

#ECDE6F is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 89.0% C 0.133 H 102.2°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#ECDE6F
RGBrgb(236, 222, 111)
HSLhsl(53, 77%, 68%)
HSVhsv(53, 53%, 93%)
CMYKcmyk(0%, 5.9%, 53%, 7.5%)
CIE-LABlab(87.59, -9.23, 55.44)
CIE-LCHlch(87.59, 56.20, 99.46°)
OKLaboklab(88.99% -0.0281 0.1301)
OKLCHoklch(88.99% 0.133 102.2)
XYZxyz(63.5846, 71.2253, 25.4343)
Luminance0.7122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE6F #6F7DEC
analogous
#EC9F6F #ECDE6F #BBEC6F
triadic
#ECDE6F #6FECDE #DE6FEC
tetradic
#ECDE6F #6FEC9F #6F7DEC #EC6FBB
square
#ECDE6F #6FEC9F #6F7DEC #EC6FBB
split-complementary
#ECDE6F #6FBBEC #9F6FEC
monochromatic
#C6B31A #E5D239 #ECDE6F #F3EAA5 #FAF7DB

Accessibility & contrast

On white

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

On black

15.24
#ECDE6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE6F
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE6F#FFFFFF#000000##000000
##ECDE6F1.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD865
Deuteranopia (green-blind)
#F4DE74
Tritanopia (blue-blind)
#FBD1C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecde6f;
/* rgb */ color: rgb(236, 222, 111);
/* oklch */ color: oklch(89.0% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#f4e89b',
    500: '#ecde6f',
    950: '#000000',
  },
}
SCSS
$custom: #ecde6f;
$custom-light: #f4e89b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde6f",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 111
  },
  "hsl": {
    "h": 53.28,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88987,
    "c": 0.13313,
    "h": 102.2
  },
  "luminance": 0.71223
}

Semantic roles & 50–950 ramp

primary
#ECDE6F
secondary
#3B4BC4
accent
#23D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECDE6F

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

Preview Lab → · Contrast checker → · Palette generator →

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