#ECD47D#ECD47D

#ECD47D is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 87.1% C 0.111 H 94.4°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#ECD47D
RGBrgb(236, 212, 125)
HSLhsl(47, 74%, 71%)
HSVhsv(47, 47%, 93%)
CMYKcmyk(0%, 10.2%, 47%, 7.5%)
CIE-LABlab(85.20, -2.96, 45.87)
CIE-LCHlch(85.20, 45.96, 93.69°)
OKLaboklab(87.15% -0.0085 0.1103)
OKLCHoklch(87.15% 0.111 94.4)
XYZxyz(61.8391, 66.4030, 28.9577)
Luminance0.6640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD47D #7D95EC
analogous
#EC9C7D #ECD47D #CCEC7D
triadic
#ECD47D #7DECD4 #D47DEC
tetradic
#ECD47D #7DEC9C #7D95EC #EC7DCC
square
#ECD47D #7DEC9C #7D95EC #EC7DCC
split-complementary
#ECD47D #7DCCEC #9C7DEC
monochromatic
#D0AA1E #E4C248 #ECD47D #F4E6B2 #FBF6E4

Accessibility & contrast

On white

1.47
#ECD47D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#ECD47D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD47D
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD47D#FFFFFF#000000##000000
##ECD47D1.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D076
Deuteranopia (green-blind)
#EBD880
Tritanopia (blue-blind)
#FBC8BF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd47d;
/* rgb */ color: rgb(236, 212, 125);
/* oklch */ color: oklch(87.1% 0.111 94.4);
Tailwind
colors: {
  custom: {
    50: '#f4e1a4',
    500: '#ecd47d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd47d;
$custom-light: #f4e1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd47d",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 125
  },
  "hsl": {
    "h": 47.027,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87146,
    "c": 0.11059,
    "h": 94.4
  },
  "luminance": 0.66401
}

Semantic roles & 50–950 ramp

primary
#ECD47D
secondary
#4863C5
accent
#3AD70F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD47D

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

Preview Lab → · Contrast checker → · Palette generator →

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