#ECDC5D#ECDC5D

#ECDC5D is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.4% C 0.147 H 102.2°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#ECDC5D
RGBrgb(236, 220, 93)
HSLhsl(53, 79%, 65%)
HSVhsv(53, 61%, 93%)
CMYKcmyk(0%, 6.8%, 60.6%, 7.5%)
CIE-LABlab(86.90, -9.54, 62.69)
CIE-LCHlch(86.90, 63.41, 98.65°)
OKLaboklab(88.38% -0.0309 0.1436)
OKLCHoklch(88.38% 0.147 102.2)
XYZxyz(62.1634, 69.8120, 20.5544)
Luminance0.6981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDC5D #5D6DEC
analogous
#EC955D #ECDC5D #B4EC5D
triadic
#ECDC5D #5DECDC #DC5DEC
tetradic
#ECDC5D #5DEC95 #5D6DEC #EC5DB4
square
#ECDC5D #5DEC95 #5D6DEC #EC5DB4
split-complementary
#ECDC5D #5DB4EC #955DEC
monochromatic
#B9A716 #E6D026 #ECDC5D #F2E894 #F9F4CB

Accessibility & contrast

On white

1.40
#ECDC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#ECDC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDC5D
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDC5D#FFFFFF#000000##000000
##ECDC5D1.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED64F
Deuteranopia (green-blind)
#F3DD64
Tritanopia (blue-blind)
#FDCEC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecdc5d;
/* rgb */ color: rgb(236, 220, 93);
/* oklch */ color: oklch(88.4% 0.147 102.2);
Tailwind
colors: {
  custom: {
    50: '#f5e690',
    500: '#ecdc5d',
    950: '#000000',
  },
}
SCSS
$custom: #ecdc5d;
$custom-light: #f5e690;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdc5d",
  "rgb": {
    "r": 236,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 53.287,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88383,
    "c": 0.14691,
    "h": 102.2
  },
  "luminance": 0.6981
}

Semantic roles & 50–950 ramp

primary
#ECDC5D
secondary
#3544B8
accent
#22DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECDC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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