#ECDB5F#ECDB5F

#ECDB5F is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.2% C 0.144 H 101.5°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#ECDB5F
RGBrgb(236, 219, 95)
HSLhsl(53, 79%, 65%)
HSVhsv(53, 60%, 93%)
CMYKcmyk(0%, 7.2%, 59.7%, 7.5%)
CIE-LABlab(86.66, -8.91, 61.56)
CIE-LCHlch(86.66, 62.21, 98.23°)
OKLaboklab(88.2% -0.0289 0.1415)
OKLCHoklch(88.2% 0.144 101.5)
XYZxyz(61.9915, 69.3246, 20.9398)
Luminance0.6932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB5F #5F70EC
analogous
#EC955F #ECDB5F #B6EC5F
triadic
#ECDB5F #5FECDB #DB5FEC
tetradic
#ECDB5F #5FEC95 #5F70EC #EC5FB6
square
#ECDB5F #5FEC95 #5F70EC #EC5FB6
split-complementary
#ECDB5F #5FB6EC #955FEC
monochromatic
#BAA716 #E6CF28 #ECDB5F #F2E796 #F9F4CC

Accessibility & contrast

On white

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

On black

14.86
#ECDB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB5F
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB5F#FFFFFF#000000##000000
##ECDB5F1.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD551
Deuteranopia (green-blind)
#F2DC65
Tritanopia (blue-blind)
#FDCDC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecdb5f;
/* rgb */ color: rgb(236, 219, 95);
/* oklch */ color: oklch(88.2% 0.144 101.5);
Tailwind
colors: {
  custom: {
    50: '#f5e591',
    500: '#ecdb5f',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb5f;
$custom-light: #f5e591;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb5f",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 95
  },
  "hsl": {
    "h": 52.766,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88198,
    "c": 0.1444,
    "h": 101.5
  },
  "luminance": 0.69322
}

Semantic roles & 50–950 ramp

primary
#ECDB5F
secondary
#3646BA
accent
#24DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECDB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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