#ECDA7F#ECDA7F

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

Color values

HEX#ECDA7F
RGBrgb(236, 218, 127)
HSLhsl(50, 74%, 71%)
HSVhsv(50, 46%, 93%)
CMYKcmyk(0%, 7.6%, 46.2%, 7.5%)
CIE-LABlab(86.76, -5.82, 46.81)
CIE-LCHlch(86.76, 47.17, 97.09°)
OKLaboklab(88.38% -0.0166 0.1125)
OKLCHoklch(88.38% 0.114 98.4)
XYZxyz(63.4960, 69.5102, 30.1467)
Luminance0.6951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA7F #7F91EC
analogous
#ECA37F #ECDA7F #C7EC7F
triadic
#ECDA7F #7FECDA #DA7FEC
tetradic
#ECDA7F #7FECA3 #7F91EC #EC7FC7
square
#ECDA7F #7FECA3 #7F91EC #EC7FC7
split-complementary
#ECDA7F #7FC7EC #A37FEC
monochromatic
#D2B41F #E4CB4A #ECDA7F #F4E9B4 #FBF7E4

Accessibility & contrast

On white

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

On black

14.90
#ECDA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDA7F
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDA7F#FFFFFF#000000##000000
##ECDA7F1.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecda7f;
/* rgb */ color: rgb(236, 218, 127);
/* oklch */ color: oklch(88.4% 0.114 98.4);
Tailwind
colors: {
  custom: {
    50: '#f4e5a6',
    500: '#ecda7f',
    950: '#000000',
  },
}
SCSS
$custom: #ecda7f;
$custom-light: #f4e5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda7f",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 127
  },
  "hsl": {
    "h": 50.092,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.88384,
    "c": 0.11372,
    "h": 98.4
  },
  "luminance": 0.69508
}

Semantic roles & 50–950 ramp

primary
#ECDA7F
secondary
#4A5EC6
accent
#30D60F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECDA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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