#ECDD66#ECDD66

#ECDD66 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.7% C 0.140 H 102.2°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#ECDD66
RGBrgb(236, 221, 102)
HSLhsl(53, 78%, 66%)
HSVhsv(53, 57%, 93%)
CMYKcmyk(0%, 6.4%, 56.8%, 7.5%)
CIE-LABlab(87.25, -9.42, 59.13)
CIE-LCHlch(87.25, 59.87, 99.05°)
OKLaboklab(88.68% -0.0296 0.1371)
OKLCHoklch(88.68% 0.14 102.2)
XYZxyz(62.8490, 70.5074, 22.8665)
Luminance0.7050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD66 #6675EC
analogous
#EC9A66 #ECDD66 #B8EC66
triadic
#ECDD66 #66ECDD #DD66EC
tetradic
#ECDD66 #66EC9A #6675EC #EC66B8
square
#ECDD66 #66EC9A #6675EC #EC66B8
split-complementary
#ECDD66 #66B8EC #9A66EC
monochromatic
#C0AD18 #E5D130 #ECDD66 #F3E99C #FAF5D3

Accessibility & contrast

On white

1.39
#ECDD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.10
#ECDD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD66
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD66#FFFFFF#000000##000000
##ECDD661.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD75A
Deuteranopia (green-blind)
#F3DE6C
Tritanopia (blue-blind)
#FCCFC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecdd66;
/* rgb */ color: rgb(236, 221, 102);
/* oklch */ color: oklch(88.7% 0.140 102.2);
Tailwind
colors: {
  custom: {
    50: '#f5e795',
    500: '#ecdd66',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd66;
$custom-light: #f5e795;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd66",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 102
  },
  "hsl": {
    "h": 53.284,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8868,
    "c": 0.14029,
    "h": 102.2
  },
  "luminance": 0.70505
}

Semantic roles & 50–950 ramp

primary
#ECDD66
secondary
#3847BE
accent
#22DA0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECDD66

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

Preview Lab → · Contrast checker → · Palette generator →

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