#ECD993#ECD993

#ECD993 is a very light, moderate yellow. Relative luminance 0.696; OKLCH L 88.5% C 0.091 H 94.7°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#ECD993
RGBrgb(236, 217, 147)
HSLhsl(47, 70%, 75%)
HSVhsv(47, 38%, 93%)
CMYKcmyk(0%, 8.1%, 37.7%, 7.5%)
CIE-LABlab(86.78, -3.26, 36.87)
CIE-LCHlch(86.78, 37.02, 95.05°)
OKLaboklab(88.5% -0.0075 0.0909)
OKLCHoklch(88.5% 0.091 94.7)
XYZxyz(64.6726, 69.5672, 37.6192)
Luminance0.6956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD993 #93A6EC
analogous
#ECAC93 #ECD993 #D3EC93
triadic
#ECD993 #93ECD9 #D993EC
tetradic
#ECD993 #93ECAC #93A6EC #EC93D3
square
#ECD993 #93ECAC #93A6EC #EC93D3
split-complementary
#ECD993 #93D3EC #AC93EC
monochromatic
#DAB42B #E3C75F #ECD993 #F5EBC7 #FAF6E5

Accessibility & contrast

On white

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

On black

14.91
#ECD993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD993
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD993#FFFFFF#000000##000000
##ECD9931.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D68E
Deuteranopia (green-blind)
#ECDC95
Tritanopia (blue-blind)
#F9CFC7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecd993;
/* rgb */ color: rgb(236, 217, 147);
/* oklch */ color: oklch(88.5% 0.091 94.7);
Tailwind
colors: {
  custom: {
    50: '#f3e4b3',
    500: '#ecd993',
    950: '#000000',
  },
}
SCSS
$custom: #ecd993;
$custom-light: #f3e4b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd993",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 147
  },
  "hsl": {
    "h": 47.191,
    "s": 70.079,
    "l": 75.098
  },
  "oklch": {
    "l": 0.88498,
    "c": 0.09125,
    "h": 94.7
  },
  "luminance": 0.69565
}

Semantic roles & 50–950 ramp

primary
#ECD993
secondary
#5C73C7
accent
#3CD213
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD993

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

Preview Lab → · Contrast checker → · Palette generator →

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