#ECDE7A#ECDE7A

#ECDE7A is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.1% C 0.123 H 101.4°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#ECDE7A
RGBrgb(236, 222, 122)
HSLhsl(53, 75%, 70%)
HSVhsv(53, 48%, 93%)
CMYKcmyk(0%, 5.9%, 48.3%, 7.5%)
CIE-LABlab(87.72, -8.30, 50.41)
CIE-LCHlch(87.72, 51.09, 99.35°)
OKLaboklab(89.13% -0.0242 0.1201)
OKLCHoklch(89.13% 0.123 101.4)
XYZxyz(64.2280, 71.4827, 28.8228)
Luminance0.7148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE7A #7A88EC
analogous
#ECA57A #ECDE7A #C1EC7A
triadic
#ECDE7A #7AECDE #DE7AEC
tetradic
#ECDE7A #7AECA5 #7A88EC #EC7AC1
square
#ECDE7A #7AECA5 #7A88EC #EC7AC1
split-complementary
#ECDE7A #7AC1EC #A57AEC
monochromatic
#CEB81D #E4D144 #ECDE7A #F4EBB0 #FBF8E4

Accessibility & contrast

On white

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

On black

15.30
#ECDE7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE7A
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE7A#FFFFFF#000000##000000
##ECDE7A1.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED871
Deuteranopia (green-blind)
#F3DF7E
Tritanopia (blue-blind)
#FBD2C7
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecde7a;
/* rgb */ color: rgb(236, 222, 122);
/* oklch */ color: oklch(89.1% 0.123 101.4);
Tailwind
colors: {
  custom: {
    50: '#f4e8a2',
    500: '#ecde7a',
    950: '#000000',
  },
}
SCSS
$custom: #ecde7a;
$custom-light: #f4e8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde7a",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 122
  },
  "hsl": {
    "h": 52.632,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89126,
    "c": 0.12253,
    "h": 101.4
  },
  "luminance": 0.71481
}

Semantic roles & 50–950 ramp

primary
#ECDE7A
secondary
#4555C5
accent
#27D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #ECDE7A

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

Preview Lab → · Contrast checker → · Palette generator →

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