#ECDA8D#ECDA8D

#ECDA8D is a very light, moderate yellow. Relative luminance 0.699; OKLCH L 88.6% C 0.099 H 96.6°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#ECDA8D
RGBrgb(236, 218, 141)
HSLhsl(49, 71%, 74%)
HSVhsv(49, 40%, 93%)
CMYKcmyk(0%, 7.6%, 40.3%, 7.5%)
CIE-LABlab(86.95, -4.42, 40.12)
CIE-LCHlch(86.95, 40.36, 96.29°)
OKLaboklab(88.6% -0.0113 0.0982)
OKLCHoklch(88.6% 0.099 96.6)
XYZxyz(64.4726, 69.9009, 35.2902)
Luminance0.6990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA8D #8D9FEC
analogous
#ECAB8D #ECDA8D #CFEC8D
triadic
#ECDA8D #8DECDA #DA8DEC
tetradic
#ECDA8D #8DECAB #8D9FEC #EC8DCF
square
#ECDA8D #8DECAB #8D9FEC #EC8DCF
split-complementary
#ECDA8D #8DCFEC #AB8DEC
monochromatic
#DAB824 #E3C959 #ECDA8D #F5EBC1 #FBF6E5

Accessibility & contrast

On white

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

On black

14.98
#ECDA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDA8D
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDA8D#FFFFFF#000000##000000
##ECDA8D1.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D687
Deuteranopia (green-blind)
#EDDC90
Tritanopia (blue-blind)
#FACFC7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecda8d;
/* rgb */ color: rgb(236, 218, 141);
/* oklch */ color: oklch(88.6% 0.099 96.6);
Tailwind
colors: {
  custom: {
    50: '#f3e5af',
    500: '#ecda8d',
    950: '#000000',
  },
}
SCSS
$custom: #ecda8d;
$custom-light: #f3e5af;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda8d",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 141
  },
  "hsl": {
    "h": 48.632,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.88598,
    "c": 0.0988,
    "h": 96.6
  },
  "luminance": 0.69899
}

Semantic roles & 50–950 ramp

primary
#ECDA8D
secondary
#566CC7
accent
#37D312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECDA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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