#ECDD5E#ECDD5E

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

Color values

HEX#ECDD5E
RGBrgb(236, 221, 94)
HSLhsl(54, 79%, 65%)
HSVhsv(54, 60%, 93%)
CMYKcmyk(0%, 6.4%, 60.2%, 7.5%)
CIE-LABlab(87.17, -9.98, 62.55)
CIE-LCHlch(87.17, 63.34, 99.06°)
OKLaboklab(88.6% -0.0321 0.1435)
OKLCHoklch(88.6% 0.147 102.6)
XYZxyz(62.4712, 70.3563, 20.8769)
Luminance0.7035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD5E #5E6DEC
analogous
#EC965E #ECDD5E #B4EC5E
triadic
#ECDD5E #5EECDD #DD5EEC
tetradic
#ECDD5E #5EEC96 #5E6DEC #EC5EB4
square
#ECDD5E #5EEC96 #5E6DEC #EC5EB4
split-complementary
#ECDD5E #5EB4EC #965EEC
monochromatic
#BAA816 #E6D127 #ECDD5E #F2E995 #F9F4CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECDD5E#FFFFFF#000000##000000
##ECDD5E1.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)
#EFD650
Deuteranopia (green-blind)
#F4DD65
Tritanopia (blue-blind)
#FCCFC2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecdd5e;
/* rgb */ color: rgb(236, 221, 94);
/* oklch */ color: oklch(88.6% 0.147 102.6);
Tailwind
colors: {
  custom: {
    50: '#f5e790',
    500: '#ecdd5e',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd5e;
$custom-light: #f5e790;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd5e",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 94
  },
  "hsl": {
    "h": 53.662,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.88598,
    "c": 0.147,
    "h": 102.6
  },
  "luminance": 0.70354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECDD5E

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

Preview Lab → · Contrast checker → · Palette generator →

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