#ECDE8A#ECDE8A

#ECDE8A is a very light, moderate yellow. Relative luminance 0.719; OKLCH L 89.4% C 0.106 H 100.0°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#ECDE8A
RGBrgb(236, 222, 138)
HSLhsl(51, 72%, 73%)
HSVhsv(51, 42%, 93%)
CMYKcmyk(0%, 5.9%, 41.5%, 7.5%)
CIE-LABlab(87.93, -6.76, 42.86)
CIE-LCHlch(87.93, 43.39, 98.96°)
OKLaboklab(89.36% -0.0184 0.1043)
OKLCHoklch(89.36% 0.106 100)
XYZxyz(65.3022, 71.9124, 34.4804)
Luminance0.7191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE8A #8A98EC
analogous
#ECAD8A #ECDE8A #C9EC8A
triadic
#ECDE8A #8AECDE #DE8AEC
tetradic
#ECDE8A #8AECAD #8A98EC #EC8AC9
square
#ECDE8A #8AECAD #8A98EC #EC8AC9
split-complementary
#ECDE8A #8AC9EC #AD8AEC
monochromatic
#D8BF23 #E3CF55 #ECDE8A #F5EDBF #FBF8E5

Accessibility & contrast

On white

1.37
#ECDE8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.38
#ECDE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE8A
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE8A#FFFFFF#000000##000000
##ECDE8A1.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD984
Deuteranopia (green-blind)
#F1DF8D
Tritanopia (blue-blind)
#FAD3C9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecde8a;
/* rgb */ color: rgb(236, 222, 138);
/* oklch */ color: oklch(89.4% 0.106 100.0);
Tailwind
colors: {
  custom: {
    50: '#f3e8ad',
    500: '#ecde8a',
    950: '#000000',
  },
}
SCSS
$custom: #ecde8a;
$custom-light: #f3e8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde8a",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 138
  },
  "hsl": {
    "h": 51.429,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.89358,
    "c": 0.10586,
    "h": 100
  },
  "luminance": 0.7191
}

Semantic roles & 50–950 ramp

primary
#ECDE8A
secondary
#5464C7
accent
#2DD411
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #ECDE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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