#ECD76E#ECD76E

#ECD76E is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.6% C 0.128 H 98.2°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#ECD76E
RGBrgb(236, 215, 110)
HSLhsl(50, 77%, 68%)
HSVhsv(50, 53%, 93%)
CMYKcmyk(0%, 8.9%, 53.4%, 7.5%)
CIE-LABlab(85.79, -5.78, 53.78)
CIE-LCHlch(85.79, 54.09, 96.14°)
OKLaboklab(87.55% -0.0183 0.1265)
OKLCHoklch(87.55% 0.128 98.2)
XYZxyz(61.7091, 67.5620, 24.5391)
Luminance0.6756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD76E #6E83EC
analogous
#EC986E #ECD76E #C2EC6E
triadic
#ECD76E #6EECD7 #D76EEC
tetradic
#ECD76E #6EEC98 #6E83EC #EC6EC2
square
#ECD76E #6EEC98 #6E83EC #EC6EC2
split-complementary
#ECD76E #6EC2EC #986EEC
monochromatic
#C6A91A #E5C838 #ECD76E #F3E6A4 #FAF5DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD76E#FFFFFF#000000##000000
##ECD76E1.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)
#E9D264
Deuteranopia (green-blind)
#EEDA73
Tritanopia (blue-blind)
#FCCABF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd76e;
/* rgb */ color: rgb(236, 215, 110);
/* oklch */ color: oklch(87.6% 0.128 98.2);
Tailwind
colors: {
  custom: {
    50: '#f5e39a',
    500: '#ecd76e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd76e;
$custom-light: #f5e39a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd76e",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 110
  },
  "hsl": {
    "h": 50,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87551,
    "c": 0.12776,
    "h": 98.2
  },
  "luminance": 0.6756
}

Semantic roles & 50–950 ramp

primary
#ECD76E
secondary
#3B52C3
accent
#2FD90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD76E

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

Preview Lab → · Contrast checker → · Palette generator →

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