#ECD897#ECD897

#ECD897 is a very light, moderate yellow. Relative luminance 0.692; OKLCH L 88.4% C 0.086 H 93.0°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#ECD897
RGBrgb(236, 216, 151)
HSLhsl(46, 69%, 76%)
HSVhsv(46, 36%, 93%)
CMYKcmyk(0%, 8.5%, 36%, 7.5%)
CIE-LABlab(86.59, -2.30, 34.59)
CIE-LCHlch(86.59, 34.66, 93.80°)
OKLaboklab(88.37% -0.0045 0.0858)
OKLCHoklch(88.37% 0.086 93)
XYZxyz(64.7350, 69.1810, 39.2154)
Luminance0.6918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD897 #97ABEC
analogous
#ECAD97 #ECD897 #D5EC97
triadic
#ECD897 #97ECD8 #D897EC
tetradic
#ECD897 #97ECAD #97ABEC #EC97D5
square
#ECD897 #97ECAD #97ABEC #EC97D5
split-complementary
#ECD897 #97D5EC #AD97EC
monochromatic
#D9B130 #E3C563 #ECD897 #F5EBCB #FAF5E5

Accessibility & contrast

On white

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

On black

14.84
#ECD897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD897
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD897#FFFFFF#000000##000000
##ECD8971.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd897;
/* rgb */ color: rgb(236, 216, 151);
/* oklch */ color: oklch(88.4% 0.086 93.0);
Tailwind
colors: {
  custom: {
    50: '#f3e3b6',
    500: '#ecd897',
    950: '#000000',
  },
}
SCSS
$custom: #ecd897;
$custom-light: #f3e3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd897",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 151
  },
  "hsl": {
    "h": 45.882,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.88368,
    "c": 0.08588,
    "h": 93
  },
  "luminance": 0.69179
}

Semantic roles & 50–950 ramp

primary
#ECD897
secondary
#6078C8
accent
#41D114
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD897

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

Preview Lab → · Contrast checker → · Palette generator →

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