#ECDE92#ECDE92

#ECDE92 is a very light, moderate yellow. Relative luminance 0.722; OKLCH L 89.5% C 0.097 H 99.1°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#ECDE92
RGBrgb(236, 222, 146)
HSLhsl(51, 70%, 75%)
HSVhsv(51, 38%, 93%)
CMYKcmyk(0%, 5.9%, 38.1%, 7.5%)
CIE-LABlab(88.04, -5.91, 39.01)
CIE-LCHlch(88.04, 39.46, 98.62°)
OKLaboklab(89.49% -0.0153 0.0958)
OKLCHoklch(89.49% 0.097 99.1)
XYZxyz(65.9028, 72.1526, 37.6439)
Luminance0.7215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE92 #92A0EC
analogous
#ECB192 #ECDE92 #CDEC92
triadic
#ECDE92 #92ECDE #DE92EC
tetradic
#ECDE92 #92ECB1 #92A0EC #EC92CD
square
#ECDE92 #92ECB1 #92A0EC #EC92CD
split-complementary
#ECDE92 #92CDEC #B192EC
monochromatic
#DABE2A #E3CE5E #ECDE92 #F5EEC6 #FAF7E5

Accessibility & contrast

On white

1.36
#ECDE92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.43
#ECDE92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE92
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE92#FFFFFF#000000##000000
##ECDE921.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDA8C
Deuteranopia (green-blind)
#F0DF95
Tritanopia (blue-blind)
#F9D4CB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ecde92;
/* rgb */ color: rgb(236, 222, 146);
/* oklch */ color: oklch(89.5% 0.097 99.1);
Tailwind
colors: {
  custom: {
    50: '#f3e8b3',
    500: '#ecde92',
    950: '#000000',
  },
}
SCSS
$custom: #ecde92;
$custom-light: #f3e8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde92",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 146
  },
  "hsl": {
    "h": 50.667,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.89487,
    "c": 0.09705,
    "h": 99.1
  },
  "luminance": 0.72151
}

Semantic roles & 50–950 ramp

primary
#ECDE92
secondary
#5B6CC7
accent
#31D213
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #ECDE92

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

Preview Lab → · Contrast checker → · Palette generator →

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