#ECD76A#ECD76A

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

Color values

HEX#ECD76A
RGBrgb(236, 215, 106)
HSLhsl(50, 77%, 67%)
HSVhsv(50, 55%, 93%)
CMYKcmyk(0%, 8.9%, 55.1%, 7.5%)
CIE-LABlab(85.74, -6.10, 55.59)
CIE-LCHlch(85.74, 55.93, 96.26°)
OKLaboklab(87.5% -0.0196 0.13)
OKLCHoklch(87.5% 0.131 98.6)
XYZxyz(61.4962, 67.4769, 23.4179)
Luminance0.6747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD76A #6A7FEC
analogous
#EC966A #ECD76A #C0EC6A
triadic
#ECD76A #6AECD7 #D76AEC
tetradic
#ECD76A #6AEC96 #6A7FEC #EC6AC0
square
#ECD76A #6AEC96 #6A7FEC #EC6AC0
split-complementary
#ECD76A #6AC0EC #966AEC
monochromatic
#C3A719 #E5C834 #ECD76A #F3E6A0 #FAF4D7

Accessibility & contrast

On white

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

On black

14.49
#ECD76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD76A
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD76A#FFFFFF#000000##000000
##ECD76A1.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25F
Deuteranopia (green-blind)
#EFDA6F
Tritanopia (blue-blind)
#FCCABE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd76a;
/* rgb */ color: rgb(236, 215, 106);
/* oklch */ color: oklch(87.5% 0.131 98.6);
Tailwind
colors: {
  custom: {
    50: '#f5e398',
    500: '#ecd76a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd76a;
$custom-light: #f5e398;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd76a",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 106
  },
  "hsl": {
    "h": 50.308,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87503,
    "c": 0.13144,
    "h": 98.6
  },
  "luminance": 0.67474
}

Semantic roles & 50–950 ramp

primary
#ECD76A
secondary
#394FC1
accent
#2DDA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD76A

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

Preview Lab → · Contrast checker → · Palette generator →

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