#ECDD6E#ECDD6E

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

Color values

HEX#ECDD6E
RGBrgb(236, 221, 110)
HSLhsl(53, 77%, 68%)
HSVhsv(53, 53%, 93%)
CMYKcmyk(0%, 6.4%, 53.4%, 7.5%)
CIE-LABlab(87.33, -8.81, 55.59)
CIE-LCHlch(87.33, 56.28, 99.01°)
OKLaboklab(88.77% -0.027 0.1304)
OKLCHoklch(88.77% 0.133 101.7)
XYZxyz(63.2650, 70.6738, 25.0577)
Luminance0.7067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD6E #6E7DEC
analogous
#EC9E6E #ECDD6E #BCEC6E
triadic
#ECDD6E #6EECDD #DD6EEC
tetradic
#ECDD6E #6EEC9E #6E7DEC #EC6EBC
square
#ECDD6E #6EEC9E #6E7DEC #EC6EBC
split-complementary
#ECDD6E #6EBCEC #9E6EEC
monochromatic
#C6B11A #E5D038 #ECDD6E #F3EAA4 #FAF6DA

Accessibility & contrast

On white

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

On black

15.13
#ECDD6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD6E
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD6E#FFFFFF#000000##000000
##ECDD6E1.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecdd6e;
/* rgb */ color: rgb(236, 221, 110);
/* oklch */ color: oklch(88.8% 0.133 101.7);
Tailwind
colors: {
  custom: {
    50: '#f5e79a',
    500: '#ecdd6e',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd6e;
$custom-light: #f5e79a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd6e",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 110
  },
  "hsl": {
    "h": 52.857,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88771,
    "c": 0.13312,
    "h": 101.7
  },
  "luminance": 0.70672
}

Semantic roles & 50–950 ramp

primary
#ECDD6E
secondary
#3B4BC3
accent
#25D90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECDD6E

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

Preview Lab → · Contrast checker → · Palette generator →

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