#ECD966#ECD966

#ECD966 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.9% C 0.137 H 100.0°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#ECD966
RGBrgb(236, 217, 102)
HSLhsl(51, 78%, 66%)
HSVhsv(51, 57%, 93%)
CMYKcmyk(0%, 8.1%, 56.8%, 7.5%)
CIE-LABlab(86.22, -7.41, 57.96)
CIE-LCHlch(86.22, 58.43, 97.29°)
OKLaboklab(87.86% -0.0238 0.1346)
OKLCHoklch(87.86% 0.137 100)
XYZxyz(61.8054, 68.4204, 22.5187)
Luminance0.6842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD966 #6679EC
analogous
#EC9666 #ECD966 #BCEC66
triadic
#ECD966 #66ECD9 #D966EC
tetradic
#ECD966 #66EC96 #6679EC #EC66BC
square
#ECD966 #66EC96 #6679EC #EC66BC
split-complementary
#ECD966 #66BCEC #9666EC
monochromatic
#C0A818 #E5CB30 #ECD966 #F3E79C #FAF4D3

Accessibility & contrast

On white

1.43
#ECD966 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.68
#ECD966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD966
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD966#FFFFFF#000000##000000
##ECD9661.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD35A
Deuteranopia (green-blind)
#F0DB6C
Tritanopia (blue-blind)
#FCCBC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd966;
/* rgb */ color: rgb(236, 217, 102);
/* oklch */ color: oklch(87.9% 0.137 100.0);
Tailwind
colors: {
  custom: {
    50: '#f5e495',
    500: '#ecd966',
    950: '#000000',
  },
}
SCSS
$custom: #ecd966;
$custom-light: #f5e495;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd966",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 102
  },
  "hsl": {
    "h": 51.493,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.87864,
    "c": 0.13672,
    "h": 100
  },
  "luminance": 0.68418
}

Semantic roles & 50–950 ramp

primary
#ECD966
secondary
#384BBE
accent
#29DA0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD966

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

Preview Lab → · Contrast checker → · Palette generator →

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