#ECDA8F#ECDA8F

#ECDA8F is a very light, moderate yellow. Relative luminance 0.700; OKLCH L 88.6% C 0.097 H 96.3°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#ECDA8F
RGBrgb(236, 218, 143)
HSLhsl(48, 71%, 74%)
HSVhsv(48, 39%, 93%)
CMYKcmyk(0%, 7.6%, 39.4%, 7.5%)
CIE-LABlab(86.98, -4.21, 39.15)
CIE-LCHlch(86.98, 39.37, 96.13°)
OKLaboklab(88.63% -0.0106 0.096)
OKLCHoklch(88.63% 0.097 96.3)
XYZxyz(64.6227, 69.9609, 36.0810)
Luminance0.6996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA8F #8FA1EC
analogous
#ECAC8F #ECDA8F #D0EC8F
triadic
#ECDA8F #8FECDA #DA8FEC
tetradic
#ECDA8F #8FECAC #8FA1EC #EC8FD0
square
#ECDA8F #8FECAC #8FA1EC #EC8FD0
split-complementary
#ECDA8F #8FD0EC #AC8FEC
monochromatic
#DAB726 #E3C95B #ECDA8F #F5EBC3 #FBF6E5

Accessibility & contrast

On white

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

On black

14.99
#ECDA8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDA8F
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDA8F#FFFFFF#000000##000000
##ECDA8F1.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D689
Deuteranopia (green-blind)
#EDDD92
Tritanopia (blue-blind)
#F9D0C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecda8f;
/* rgb */ color: rgb(236, 218, 143);
/* oklch */ color: oklch(88.6% 0.097 96.3);
Tailwind
colors: {
  custom: {
    50: '#f3e5b0',
    500: '#ecda8f',
    950: '#000000',
  },
}
SCSS
$custom: #ecda8f;
$custom-light: #f3e5b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda8f",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 143
  },
  "hsl": {
    "h": 48.387,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.88631,
    "c": 0.0966,
    "h": 96.3
  },
  "luminance": 0.69959
}

Semantic roles & 50–950 ramp

primary
#ECDA8F
secondary
#586EC7
accent
#38D312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECDA8F

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

Preview Lab → · Contrast checker → · Palette generator →

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