#ECD895#ECD895

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

Color values

HEX#ECD895
RGBrgb(236, 216, 149)
HSLhsl(46, 70%, 75%)
HSVhsv(46, 37%, 93%)
CMYKcmyk(0%, 8.5%, 36.9%, 7.5%)
CIE-LABlab(86.56, -2.52, 35.57)
CIE-LCHlch(86.56, 35.66, 94.06°)
OKLaboklab(88.33% -0.0053 0.088)
OKLCHoklch(88.33% 0.088 93.4)
XYZxyz(64.5740, 69.1166, 38.3673)
Luminance0.6912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD895 #95A9EC
analogous
#ECAC95 #ECD895 #D4EC95
triadic
#ECD895 #95ECD8 #D895EC
tetradic
#ECD895 #95ECAC #95A9EC #EC95D4
square
#ECD895 #95ECAC #95A9EC #EC95D4
split-complementary
#ECD895 #95D4EC #AC95EC
monochromatic
#D9B22D #E3C561 #ECD895 #F5EBC9 #FAF5E5

Accessibility & contrast

On white

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

On black

14.82
#ECD895 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD895
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD895#FFFFFF#000000##000000
##ECD8951.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd895;
/* rgb */ color: rgb(236, 216, 149);
/* oklch */ color: oklch(88.3% 0.088 93.4);
Tailwind
colors: {
  custom: {
    50: '#f3e3b5',
    500: '#ecd895',
    950: '#000000',
  },
}
SCSS
$custom: #ecd895;
$custom-light: #f3e3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd895",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 149
  },
  "hsl": {
    "h": 46.207,
    "s": 69.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.88332,
    "c": 0.08813,
    "h": 93.4
  },
  "luminance": 0.69115
}

Semantic roles & 50–950 ramp

primary
#ECD895
secondary
#5E76C7
accent
#40D214
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD895

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

Preview Lab → · Contrast checker → · Palette generator →

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