#ECDD6F#ECDD6F

#ECDD6F is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.8% C 0.132 H 101.6°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#ECDD6F
RGBrgb(236, 221, 111)
HSLhsl(53, 77%, 68%)
HSVhsv(53, 53%, 93%)
CMYKcmyk(0%, 6.4%, 53%, 7.5%)
CIE-LABlab(87.34, -8.73, 55.14)
CIE-LCHlch(87.34, 55.82, 99.00°)
OKLaboklab(88.78% -0.0266 0.1295)
OKLCHoklch(88.78% 0.132 101.6)
XYZxyz(63.3198, 70.6957, 25.3461)
Luminance0.7069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD6F #6F7EEC
analogous
#EC9E6F #ECDD6F #BCEC6F
triadic
#ECDD6F #6FECDD #DD6FEC
tetradic
#ECDD6F #6FEC9E #6F7EEC #EC6FBC
square
#ECDD6F #6FEC9E #6F7EEC #EC6FBC
split-complementary
#ECDD6F #6FBCEC #9E6FEC
monochromatic
#C6B21A #E5D039 #ECDD6F #F3EAA5 #FAF7DB

Accessibility & contrast

On white

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

On black

15.14
#ECDD6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD6F
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD6F#FFFFFF#000000##000000
##ECDD6F1.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED765
Deuteranopia (green-blind)
#F3DE74
Tritanopia (blue-blind)
#FCD0C4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecdd6f;
/* rgb */ color: rgb(236, 221, 111);
/* oklch */ color: oklch(88.8% 0.132 101.6);
Tailwind
colors: {
  custom: {
    50: '#f4e79b',
    500: '#ecdd6f',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd6f;
$custom-light: #f4e79b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd6f",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 111
  },
  "hsl": {
    "h": 52.8,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88783,
    "c": 0.1322,
    "h": 101.6
  },
  "luminance": 0.70693
}

Semantic roles & 50–950 ramp

primary
#ECDD6F
secondary
#3B4CC4
accent
#25D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECDD6F

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

Preview Lab → · Contrast checker → · Palette generator →

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