#ECD17D#ECD17D

#ECD17D is a very light, moderate yellow. Relative luminance 0.649; OKLCH L 86.5% C 0.108 H 92.1°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#ECD17D
RGBrgb(236, 209, 125)
HSLhsl(45, 74%, 71%)
HSVhsv(45, 47%, 93%)
CMYKcmyk(0%, 11.4%, 47%, 7.5%)
CIE-LABlab(84.44, -1.42, 44.92)
CIE-LCHlch(84.44, 44.95, 91.81°)
OKLaboklab(86.55% -0.0041 0.1082)
OKLCHoklch(86.55% 0.108 92.1)
XYZxyz(61.0961, 64.9170, 28.7101)
Luminance0.6491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD17D #7D98EC
analogous
#EC997D #ECD17D #D0EC7D
triadic
#ECD17D #7DECD1 #D17DEC
tetradic
#ECD17D #7DEC99 #7D98EC #EC7DD0
square
#ECD17D #7DEC99 #7D98EC #EC7DD0
split-complementary
#ECD17D #7DD0EC #997DEC
monochromatic
#D0A51E #E4BE48 #ECD17D #F4E4B2 #FBF6E4

Accessibility & contrast

On white

1.50
#ECD17D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#ECD17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD17D
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD17D#FFFFFF#000000##000000
##ECD17D1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE76
Deuteranopia (green-blind)
#E8D680
Tritanopia (blue-blind)
#FBC5BD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd17d;
/* rgb */ color: rgb(236, 209, 125);
/* oklch */ color: oklch(86.5% 0.108 92.1);
Tailwind
colors: {
  custom: {
    50: '#f4dea4',
    500: '#ecd17d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd17d;
$custom-light: #f4dea4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd17d",
  "rgb": {
    "r": 236,
    "g": 209,
    "b": 125
  },
  "hsl": {
    "h": 45.405,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86545,
    "c": 0.10823,
    "h": 92.1
  },
  "luminance": 0.64914
}

Semantic roles & 50–950 ramp

primary
#ECD17D
secondary
#4866C5
accent
#3FD70F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD17D

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

Preview Lab → · Contrast checker → · Palette generator →

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