#ECDD5D#ECDD5D

#ECDD5D is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.6% C 0.148 H 102.7°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#ECDD5D
RGBrgb(236, 221, 93)
HSLhsl(54, 79%, 65%)
HSVhsv(54, 61%, 93%)
CMYKcmyk(0%, 6.4%, 60.6%, 7.5%)
CIE-LABlab(87.16, -10.04, 62.97)
CIE-LCHlch(87.16, 63.77, 99.06°)
OKLaboklab(88.59% -0.0324 0.1442)
OKLCHoklch(88.59% 0.148 102.7)
XYZxyz(62.4266, 70.3385, 20.6422)
Luminance0.7034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD5D #5D6CEC
analogous
#EC955D #ECDD5D #B4EC5D
triadic
#ECDD5D #5DECDD #DD5DEC
tetradic
#ECDD5D #5DEC95 #5D6CEC #EC5DB4
square
#ECDD5D #5DEC95 #5D6CEC #EC5DB4
split-complementary
#ECDD5D #5DB4EC #955DEC
monochromatic
#B9A816 #E6D226 #ECDD5D #F2E894 #F9F4CB

Accessibility & contrast

On white

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

On black

15.07
#ECDD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD5D
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD5D#FFFFFF#000000##000000
##ECDD5D1.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD64E
Deuteranopia (green-blind)
#F4DD64
Tritanopia (blue-blind)
#FDCFC2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecdd5d;
/* rgb */ color: rgb(236, 221, 93);
/* oklch */ color: oklch(88.6% 0.148 102.7);
Tailwind
colors: {
  custom: {
    50: '#f5e790',
    500: '#ecdd5d',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd5d;
$custom-light: #f5e790;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd5d",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 93
  },
  "hsl": {
    "h": 53.706,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88588,
    "c": 0.14781,
    "h": 102.7
  },
  "luminance": 0.70336
}

Semantic roles & 50–950 ramp

primary
#ECDD5D
secondary
#3543B8
accent
#20DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECDD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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