#ECD676#ECD676

#ECD676 is a very light, moderate yellow. Relative luminance 0.672; OKLCH L 87.5% C 0.119 H 96.7°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#ECD676
RGBrgb(236, 214, 118)
HSLhsl(49, 76%, 69%)
HSVhsv(49, 50%, 93%)
CMYKcmyk(0%, 9.3%, 50%, 7.5%)
CIE-LABlab(85.62, -4.61, 49.79)
CIE-LCHlch(85.62, 50.00, 95.29°)
OKLaboklab(87.45% -0.014 0.1184)
OKLCHoklch(87.45% 0.119 96.7)
XYZxyz(61.9106, 67.2365, 26.8528)
Luminance0.6723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD676 #768CEC
analogous
#EC9B76 #ECD676 #C7EC76
triadic
#ECD676 #76ECD6 #D676EC
tetradic
#ECD676 #76EC9B #768CEC #EC76C7
square
#ECD676 #76EC9B #768CEC #EC76C7
split-complementary
#ECD676 #76C7EC #9B76EC
monochromatic
#CBAB1C #E5C640 #ECD676 #F3E6AC #FBF6E1

Accessibility & contrast

On white

1.45
#ECD676 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#ECD676 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD676
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD676#FFFFFF#000000##000000
##ECD6761.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D26E
Deuteranopia (green-blind)
#EDD97A
Tritanopia (blue-blind)
#FCC9BF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd676;
/* rgb */ color: rgb(236, 214, 118);
/* oklch */ color: oklch(87.5% 0.119 96.7);
Tailwind
colors: {
  custom: {
    50: '#f4e29f',
    500: '#ecd676',
    950: '#000000',
  },
}
SCSS
$custom: #ecd676;
$custom-light: #f4e29f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd676",
  "rgb": {
    "r": 236,
    "g": 214,
    "b": 118
  },
  "hsl": {
    "h": 48.814,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.87451,
    "c": 0.11926,
    "h": 96.7
  },
  "luminance": 0.67234
}

Semantic roles & 50–950 ramp

primary
#ECD676
secondary
#415AC5
accent
#33D80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD676

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

Preview Lab → · Contrast checker → · Palette generator →

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