#ECD88D#ECD88D

#ECD88D is a very light, moderate yellow. Relative luminance 0.689; OKLCH L 88.2% C 0.097 H 95.0°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#ECD88D
RGBrgb(236, 216, 141)
HSLhsl(47, 71%, 74%)
HSVhsv(47, 40%, 93%)
CMYKcmyk(0%, 8.5%, 40.3%, 7.5%)
CIE-LABlab(86.44, -3.40, 39.46)
CIE-LCHlch(86.44, 39.61, 94.93°)
OKLaboklab(88.2% -0.0084 0.0967)
OKLCHoklch(88.2% 0.097 95)
XYZxyz(63.9571, 68.8699, 35.1183)
Luminance0.6887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD88D #8DA1EC
analogous
#ECA98D #ECD88D #D1EC8D
triadic
#ECD88D #8DECD8 #D88DEC
tetradic
#ECD88D #8DECA9 #8DA1EC #EC8DD1
square
#ECD88D #8DECA9 #8DA1EC #EC8DD1
split-complementary
#ECD88D #8DD1EC #A98DEC
monochromatic
#DAB424 #E3C659 #ECD88D #F5EAC1 #FBF6E5

Accessibility & contrast

On white

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

On black

14.77
#ECD88D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD88D
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD88D#FFFFFF#000000##000000
##ECD88D1.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D587
Deuteranopia (green-blind)
#ECDB90
Tritanopia (blue-blind)
#FACDC5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd88d;
/* rgb */ color: rgb(236, 216, 141);
/* oklch */ color: oklch(88.2% 0.097 95.0);
Tailwind
colors: {
  custom: {
    50: '#f3e3af',
    500: '#ecd88d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd88d;
$custom-light: #f3e3af;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd88d",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 141
  },
  "hsl": {
    "h": 47.368,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.88196,
    "c": 0.09701,
    "h": 95
  },
  "luminance": 0.68868
}

Semantic roles & 50–950 ramp

primary
#ECD88D
secondary
#566EC7
accent
#3BD312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD88D

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

Preview Lab → · Contrast checker → · Palette generator →

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