#ECD995#ECD995

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

Color values

HEX#ECD995
RGBrgb(236, 217, 149)
HSLhsl(47, 70%, 75%)
HSVhsv(47, 37%, 93%)
CMYKcmyk(0%, 8.1%, 36.9%, 7.5%)
CIE-LABlab(86.82, -3.04, 35.90)
CIE-LCHlch(86.82, 36.03, 94.83°)
OKLaboklab(88.53% -0.0068 0.0888)
OKLCHoklch(88.53% 0.089 94.4)
XYZxyz(64.8309, 69.6305, 38.4529)
Luminance0.6963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD995 #95A8EC
analogous
#ECAD95 #ECD995 #D3EC95
triadic
#ECD995 #95ECD9 #D995EC
tetradic
#ECD995 #95ECAD #95A8EC #EC95D3
square
#ECD995 #95ECAD #95A8EC #EC95D3
split-complementary
#ECD995 #95D3EC #AD95EC
monochromatic
#D9B42D #E3C661 #ECD995 #F5ECC9 #FAF6E5

Accessibility & contrast

On white

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

On black

14.93
#ECD995 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD995
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD995#FFFFFF#000000##000000
##ECD9951.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D690
Deuteranopia (green-blind)
#ECDC97
Tritanopia (blue-blind)
#F9CFC8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecd995;
/* rgb */ color: rgb(236, 217, 149);
/* oklch */ color: oklch(88.5% 0.089 94.4);
Tailwind
colors: {
  custom: {
    50: '#f3e4b5',
    500: '#ecd995',
    950: '#000000',
  },
}
SCSS
$custom: #ecd995;
$custom-light: #f3e4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd995",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 149
  },
  "hsl": {
    "h": 46.897,
    "s": 69.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.88533,
    "c": 0.08901,
    "h": 94.4
  },
  "luminance": 0.69629
}

Semantic roles & 50–950 ramp

primary
#ECD995
secondary
#5E75C7
accent
#3DD214
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD995

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

Preview Lab → · Contrast checker → · Palette generator →

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