#ECD066#ECD066

#ECD066 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 86.0% C 0.129 H 94.7°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#ECD066
RGBrgb(236, 208, 102)
HSLhsl(47, 78%, 66%)
HSVhsv(47, 57%, 93%)
CMYKcmyk(0%, 11.9%, 56.8%, 7.5%)
CIE-LABlab(83.92, -2.84, 55.33)
CIE-LCHlch(83.92, 55.40, 92.94°)
OKLaboklab(86.04% -0.0107 0.129)
OKLCHoklch(86.04% 0.129 94.7)
XYZxyz(59.5486, 63.9067, 21.7664)
Luminance0.6390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD066 #6682EC
analogous
#EC8D66 #ECD066 #C5EC66
triadic
#ECD066 #66ECD0 #D066EC
tetradic
#ECD066 #66EC8D #6682EC #EC66C5
square
#ECD066 #66EC8D #6682EC #EC66C5
split-complementary
#ECD066 #66C5EC #8D66EC
monochromatic
#C09D18 #E5BF30 #ECD066 #F3E19C #FAF1D3

Accessibility & contrast

On white

1.52
#ECD066 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#ECD066 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD066
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD066#FFFFFF#000000##000000
##ECD0661.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC5C
Deuteranopia (green-blind)
#EAD56B
Tritanopia (blue-blind)
#FDC2B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ecd066;
/* rgb */ color: rgb(236, 208, 102);
/* oklch */ color: oklch(86.0% 0.129 94.7);
Tailwind
colors: {
  custom: {
    50: '#f5de95',
    500: '#ecd066',
    950: '#000000',
  },
}
SCSS
$custom: #ecd066;
$custom-light: #f5de95;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd066",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 102
  },
  "hsl": {
    "h": 47.463,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86044,
    "c": 0.1294,
    "h": 94.7
  },
  "luminance": 0.63904
}

Semantic roles & 50–950 ramp

primary
#ECD066
secondary
#3854BE
accent
#37DA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD066

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

Preview Lab → · Contrast checker → · Palette generator →

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