#ECDA7D#ECDA7D

#ECDA7D is a very light, moderate yellow. Relative luminance 0.695; OKLCH L 88.4% C 0.116 H 98.6°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#ECDA7D
RGBrgb(236, 218, 125)
HSLhsl(50, 74%, 71%)
HSVhsv(50, 47%, 93%)
CMYKcmyk(0%, 7.6%, 47%, 7.5%)
CIE-LABlab(86.73, -6.01, 47.76)
CIE-LCHlch(86.73, 48.13, 97.17°)
OKLaboklab(88.35% -0.0173 0.1145)
OKLCHoklch(88.35% 0.116 98.6)
XYZxyz(63.3669, 69.4586, 29.4670)
Luminance0.6946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA7D #7D8FEC
analogous
#ECA27D #ECDA7D #C6EC7D
triadic
#ECDA7D #7DECDA #DA7DEC
tetradic
#ECDA7D #7DECA2 #7D8FEC #EC7DC6
square
#ECDA7D #7DECA2 #7D8FEC #EC7DC6
split-complementary
#ECDA7D #7DC6EC #A27DEC
monochromatic
#D0B31E #E4CB48 #ECDA7D #F4E9B2 #FBF7E4

Accessibility & contrast

On white

1.41
#ECDA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.89
#ECDA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDA7D
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDA7D#FFFFFF#000000##000000
##ECDA7D1.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD575
Deuteranopia (green-blind)
#EFDC81
Tritanopia (blue-blind)
#FBCEC4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecda7d;
/* rgb */ color: rgb(236, 218, 125);
/* oklch */ color: oklch(88.4% 0.116 98.6);
Tailwind
colors: {
  custom: {
    50: '#f4e5a4',
    500: '#ecda7d',
    950: '#000000',
  },
}
SCSS
$custom: #ecda7d;
$custom-light: #f4e5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda7d",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 125
  },
  "hsl": {
    "h": 50.27,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88355,
    "c": 0.11577,
    "h": 98.6
  },
  "luminance": 0.69456
}

Semantic roles & 50–950 ramp

primary
#ECDA7D
secondary
#485CC5
accent
#2FD70F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECDA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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