#ECD76D#ECD76D

#ECD76D is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.5% C 0.129 H 98.3°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#ECD76D
RGBrgb(236, 215, 109)
HSLhsl(50, 77%, 68%)
HSVhsv(50, 54%, 93%)
CMYKcmyk(0%, 8.9%, 53.8%, 7.5%)
CIE-LABlab(85.78, -5.86, 54.24)
CIE-LCHlch(85.78, 54.55, 96.17°)
OKLaboklab(87.54% -0.0186 0.1273)
OKLCHoklch(87.54% 0.129 98.3)
XYZxyz(61.6550, 67.5404, 24.2540)
Luminance0.6754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD76D #6D82EC
analogous
#EC986D #ECD76D #C1EC6D
triadic
#ECD76D #6DECD7 #D76DEC
tetradic
#ECD76D #6DEC98 #6D82EC #EC6DC1
square
#ECD76D #6DEC98 #6D82EC #EC6DC1
split-complementary
#ECD76D #6DC1EC #986DEC
monochromatic
#C5A91A #E5C837 #ECD76D #F3E6A3 #FAF5D9

Accessibility & contrast

On white

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

On black

14.51
#ECD76D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD76D
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD76D#FFFFFF#000000##000000
##ECD76D1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D263
Deuteranopia (green-blind)
#EEDA72
Tritanopia (blue-blind)
#FCCABF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd76d;
/* rgb */ color: rgb(236, 215, 109);
/* oklch */ color: oklch(87.5% 0.129 98.3);
Tailwind
colors: {
  custom: {
    50: '#f5e39a',
    500: '#ecd76d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd76d;
$custom-light: #f5e39a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd76d",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 109
  },
  "hsl": {
    "h": 50.079,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87539,
    "c": 0.12869,
    "h": 98.3
  },
  "luminance": 0.67538
}

Semantic roles & 50–950 ramp

primary
#ECD76D
secondary
#3A51C3
accent
#2ED90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD76D

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

Preview Lab → · Contrast checker → · Palette generator →

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