#ECD896#ECD896

#ECD896 is a very light, moderate yellow. Relative luminance 0.691; OKLCH L 88.3% C 0.087 H 93.2°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#ECD896
RGBrgb(236, 216, 150)
HSLhsl(46, 69%, 76%)
HSVhsv(46, 36%, 93%)
CMYKcmyk(0%, 8.5%, 36.4%, 7.5%)
CIE-LABlab(86.58, -2.41, 35.08)
CIE-LCHlch(86.58, 35.16, 93.93°)
OKLaboklab(88.35% -0.0049 0.0869)
OKLCHoklch(88.35% 0.087 93.2)
XYZxyz(64.6541, 69.1487, 38.7895)
Luminance0.6915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD896 #96AAEC
analogous
#ECAD96 #ECD896 #D5EC96
triadic
#ECD896 #96ECD8 #D896EC
tetradic
#ECD896 #96ECAD #96AAEC #EC96D5
square
#ECD896 #96ECAD #96AAEC #EC96D5
split-complementary
#ECD896 #96D5EC #AD96EC
monochromatic
#D9B22E #E3C562 #ECD896 #F5EBCA #FAF5E5

Accessibility & contrast

On white

1.42
#ECD896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#ECD896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD896
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD896#FFFFFF#000000##000000
##ECD8961.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D591
Deuteranopia (green-blind)
#EBDB98
Tritanopia (blue-blind)
#F9CEC7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecd896;
/* rgb */ color: rgb(236, 216, 150);
/* oklch */ color: oklch(88.3% 0.087 93.2);
Tailwind
colors: {
  custom: {
    50: '#f3e3b5',
    500: '#ecd896',
    950: '#000000',
  },
}
SCSS
$custom: #ecd896;
$custom-light: #f3e3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd896",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 150
  },
  "hsl": {
    "h": 46.047,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.8835,
    "c": 0.08701,
    "h": 93.2
  },
  "luminance": 0.69147
}

Semantic roles & 50–950 ramp

primary
#ECD896
secondary
#5F77C7
accent
#40D114
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD896

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

Preview Lab → · Contrast checker → · Palette generator →

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