#ECDA79#ECDA79

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

Color values

HEX#ECDA79
RGBrgb(236, 218, 121)
HSLhsl(51, 75%, 70%)
HSVhsv(51, 49%, 93%)
CMYKcmyk(0%, 7.6%, 48.7%, 7.5%)
CIE-LABlab(86.68, -6.37, 49.63)
CIE-LCHlch(86.68, 50.04, 97.32°)
OKLaboklab(88.3% -0.0188 0.1183)
OKLCHoklch(88.3% 0.12 99)
XYZxyz(63.1165, 69.3584, 28.1483)
Luminance0.6936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA79 #798BEC
analogous
#ECA179 #ECDA79 #C4EC79
triadic
#ECDA79 #79ECDA #DA79EC
tetradic
#ECDA79 #79ECA1 #798BEC #EC79C4
square
#ECDA79 #79ECA1 #798BEC #EC79C4
split-complementary
#ECDA79 #79C4EC #A179EC
monochromatic
#CDB21D #E4CB43 #ECDA79 #F4E9AF #FBF8E4

Accessibility & contrast

On white

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

On black

14.87
#ECDA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDA79
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDA79#FFFFFF#000000##000000
##ECDA791.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD571
Deuteranopia (green-blind)
#F0DC7D
Tritanopia (blue-blind)
#FBCEC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecda79;
/* rgb */ color: rgb(236, 218, 121);
/* oklch */ color: oklch(88.3% 0.120 99.0);
Tailwind
colors: {
  custom: {
    50: '#f4e5a2',
    500: '#ecda79',
    950: '#000000',
  },
}
SCSS
$custom: #ecda79;
$custom-light: #f4e5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda79",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 121
  },
  "hsl": {
    "h": 50.609,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.883,
    "c": 0.11979,
    "h": 99
  },
  "luminance": 0.69356
}

Semantic roles & 50–950 ramp

primary
#ECDA79
secondary
#4458C5
accent
#2ED70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECDA79

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

Preview Lab → · Contrast checker → · Palette generator →

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