#ECDA97#ECDA97

#ECDA97 is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.088 H 94.9°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#ECDA97
RGBrgb(236, 218, 151)
HSLhsl(47, 69%, 76%)
HSVhsv(47, 36%, 93%)
CMYKcmyk(0%, 7.6%, 36%, 7.5%)
CIE-LABlab(87.10, -3.32, 35.26)
CIE-LCHlch(87.10, 35.41, 95.38°)
OKLaboklab(88.77% -0.0074 0.0873)
OKLCHoklch(88.77% 0.088 94.9)
XYZxyz(65.2505, 70.2120, 39.3873)
Luminance0.7021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA97 #97A9EC
analogous
#ECAF97 #ECDA97 #D3EC97
triadic
#ECDA97 #97ECDA #DA97EC
tetradic
#ECDA97 #97ECAF #97A9EC #EC97D3
square
#ECDA97 #97ECAF #97A9EC #EC97D3
split-complementary
#ECDA97 #97D3EC #AF97EC
monochromatic
#D9B530 #E3C863 #ECDA97 #F5ECCB #FAF6E5

Accessibility & contrast

On white

1.40
#ECDA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#ECDA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDA97
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDA97#FFFFFF#000000##000000
##ECDA971.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D792
Deuteranopia (green-blind)
#ECDD99
Tritanopia (blue-blind)
#F9D0C9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecda97;
/* rgb */ color: rgb(236, 218, 151);
/* oklch */ color: oklch(88.8% 0.088 94.9);
Tailwind
colors: {
  custom: {
    50: '#f3e5b6',
    500: '#ecda97',
    950: '#000000',
  },
}
SCSS
$custom: #ecda97;
$custom-light: #f3e5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda97",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 151
  },
  "hsl": {
    "h": 47.294,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.88768,
    "c": 0.08763,
    "h": 94.9
  },
  "luminance": 0.7021
}

Semantic roles & 50–950 ramp

primary
#ECDA97
secondary
#6076C8
accent
#3CD114
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECDA97

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

Preview Lab → · Contrast checker → · Palette generator →

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