#ECDA98#ECDA98

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

Color values

HEX#ECDA98
RGBrgb(236, 218, 152)
HSLhsl(47, 69%, 76%)
HSVhsv(47, 36%, 93%)
CMYKcmyk(0%, 7.6%, 35.6%, 7.5%)
CIE-LABlab(87.12, -3.20, 34.77)
CIE-LCHlch(87.12, 34.91, 95.27°)
OKLaboklab(88.79% -0.0071 0.0862)
OKLCHoklch(88.79% 0.087 94.7)
XYZxyz(65.3321, 70.2447, 39.8168)
Luminance0.7024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA98 #98AAEC
analogous
#ECB098 #ECDA98 #D4EC98
triadic
#ECDA98 #98ECDA #DA98EC
tetradic
#ECDA98 #98ECB0 #98AAEC #EC98D4
square
#ECDA98 #98ECB0 #98AAEC #EC98D4
split-complementary
#ECDA98 #98D4EC #B098EC
monochromatic
#D9B531 #E2C764 #ECDA98 #F6EDCC #FAF6E5

Accessibility & contrast

On white

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

On black

15.05
#ECDA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDA98
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDA98#FFFFFF#000000##000000
##ECDA981.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecda98;
/* rgb */ color: rgb(236, 218, 152);
/* oklch */ color: oklch(88.8% 0.086 94.7);
Tailwind
colors: {
  custom: {
    50: '#f3e5b7',
    500: '#ecda98',
    950: '#000000',
  },
}
SCSS
$custom: #ecda98;
$custom-light: #f3e5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda98",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 152
  },
  "hsl": {
    "h": 47.143,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.88786,
    "c": 0.0865,
    "h": 94.7
  },
  "luminance": 0.70243
}

Semantic roles & 50–950 ramp

primary
#ECDA98
secondary
#6177C8
accent
#3DD115
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECDA98

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

Preview Lab → · Contrast checker → · Palette generator →

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