#ECDA7C#ECDA7C

#ECDA7C is a very light, moderate yellow. Relative luminance 0.694; OKLCH L 88.3% C 0.117 H 98.7°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#ECDA7C
RGBrgb(236, 218, 124)
HSLhsl(50, 75%, 71%)
HSVhsv(50, 47%, 93%)
CMYKcmyk(0%, 7.6%, 47.5%, 7.5%)
CIE-LABlab(86.72, -6.10, 48.23)
CIE-LCHlch(86.72, 48.61, 97.21°)
OKLaboklab(88.34% -0.0177 0.1154)
OKLCHoklch(88.34% 0.117 98.7)
XYZxyz(63.3034, 69.4332, 29.1323)
Luminance0.6943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA7C #7C8EEC
analogous
#ECA27C #ECDA7C #C6EC7C
triadic
#ECDA7C #7CECDA #DA7CEC
tetradic
#ECDA7C #7CECA2 #7C8EEC #EC7CC6
square
#ECDA7C #7CECA2 #7C8EEC #EC7CC6
split-complementary
#ECDA7C #7CC6EC #A27CEC
monochromatic
#D0B31E #E4CB47 #ECDA7C #F4E9B1 #FBF7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECDA7C#FFFFFF#000000##000000
##ECDA7C1.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)
#EAD574
Deuteranopia (green-blind)
#EFDC80
Tritanopia (blue-blind)
#FBCEC4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecda7c;
/* rgb */ color: rgb(236, 218, 124);
/* oklch */ color: oklch(88.3% 0.117 98.7);
Tailwind
colors: {
  custom: {
    50: '#f4e5a4',
    500: '#ecda7c',
    950: '#000000',
  },
}
SCSS
$custom: #ecda7c;
$custom-light: #f4e5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda7c",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 124
  },
  "hsl": {
    "h": 50.357,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88341,
    "c": 0.11678,
    "h": 98.7
  },
  "luminance": 0.69431
}

Semantic roles & 50–950 ramp

primary
#ECDA7C
secondary
#475BC5
accent
#2FD70F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECDA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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