#ECDB6F#ECDB6F

#ECDB6F is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.4% C 0.130 H 100.5°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#ECDB6F
RGBrgb(236, 219, 111)
HSLhsl(52, 77%, 68%)
HSVhsv(52, 53%, 93%)
CMYKcmyk(0%, 7.2%, 53%, 7.5%)
CIE-LABlab(86.82, -7.72, 54.53)
CIE-LCHlch(86.82, 55.08, 98.06°)
OKLaboklab(88.38% -0.0237 0.1282)
OKLCHoklch(88.38% 0.13 100.5)
XYZxyz(62.7949, 69.6459, 25.1711)
Luminance0.6964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB6F #6F80EC
analogous
#EC9C6F #ECDB6F #BEEC6F
triadic
#ECDB6F #6FECDB #DB6FEC
tetradic
#ECDB6F #6FEC9C #6F80EC #EC6FBE
square
#ECDB6F #6FEC9C #6F80EC #EC6FBE
split-complementary
#ECDB6F #6FBEEC #9C6FEC
monochromatic
#C6AF1A #E5CD39 #ECDB6F #F3E9A5 #FAF6DB

Accessibility & contrast

On white

1.41
#ECDB6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.93
#ECDB6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB6F
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB6F#FFFFFF#000000##000000
##ECDB6F1.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD565
Deuteranopia (green-blind)
#F1DC74
Tritanopia (blue-blind)
#FCCEC2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecdb6f;
/* rgb */ color: rgb(236, 219, 111);
/* oklch */ color: oklch(88.4% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#f4e59b',
    500: '#ecdb6f',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb6f;
$custom-light: #f4e59b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb6f",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 111
  },
  "hsl": {
    "h": 51.84,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88375,
    "c": 0.13036,
    "h": 100.5
  },
  "luminance": 0.69644
}

Semantic roles & 50–950 ramp

primary
#ECDB6F
secondary
#3B4EC4
accent
#28D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECDB6F

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

Preview Lab → · Contrast checker → · Palette generator →

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