#ECDE5C#ECDE5C

#ECDE5C is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.8% C 0.149 H 103.2°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#ECDE5C
RGBrgb(236, 222, 92)
HSLhsl(54, 79%, 64%)
HSVhsv(54, 61%, 93%)
CMYKcmyk(0%, 5.9%, 61%, 7.5%)
CIE-LABlab(87.41, -10.61, 63.67)
CIE-LCHlch(87.41, 64.55, 99.46°)
OKLaboklab(88.78% -0.0341 0.1456)
OKLCHoklch(88.78% 0.15 103.2)
XYZxyz(62.6474, 70.8505, 20.4987)
Luminance0.7085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE5C #5C6AEC
analogous
#EC965C #ECDE5C #B2EC5C
triadic
#ECDE5C #5CECDE #DE5CEC
tetradic
#ECDE5C #5CEC96 #5C6AEC #EC5CB2
square
#ECDE5C #5CEC96 #5C6AEC #EC5CB2
split-complementary
#ECDE5C #5CB2EC #965CEC
monochromatic
#B8A815 #E6D325 #ECDE5C #F2E993 #F9F4CA

Accessibility & contrast

On white

1.38
#ECDE5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.17
#ECDE5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE5C
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE5C#FFFFFF#000000##000000
##ECDE5C1.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D74D
Deuteranopia (green-blind)
#F5DE63
Tritanopia (blue-blind)
#FDD0C2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecde5c;
/* rgb */ color: rgb(236, 222, 92);
/* oklch */ color: oklch(88.8% 0.149 103.2);
Tailwind
colors: {
  custom: {
    50: '#f5e88f',
    500: '#ecde5c',
    950: '#000000',
  },
}
SCSS
$custom: #ecde5c;
$custom-light: #f5e88f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde5c",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 92
  },
  "hsl": {
    "h": 54.167,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.88784,
    "c": 0.1495,
    "h": 103.2
  },
  "luminance": 0.70848
}

Semantic roles & 50–950 ramp

primary
#ECDE5C
secondary
#3541B8
accent
#1EDB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECDE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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