#ECD266#ECD266

#ECD266 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.4% C 0.131 H 96.0°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#ECD266
RGBrgb(236, 210, 102)
HSLhsl(48, 78%, 66%)
HSVhsv(48, 57%, 93%)
CMYKcmyk(0%, 11%, 56.8%, 7.5%)
CIE-LABlab(84.43, -3.86, 55.91)
CIE-LCHlch(84.43, 56.05, 93.95°)
OKLaboklab(86.45% -0.0136 0.1302)
OKLCHoklch(86.45% 0.131 96)
XYZxyz(60.0393, 64.8881, 21.9299)
Luminance0.6489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD266 #6680EC
analogous
#EC8F66 #ECD266 #C3EC66
triadic
#ECD266 #66ECD2 #D266EC
tetradic
#ECD266 #66EC8F #6680EC #EC66C3
square
#ECD266 #66EC8F #6680EC #EC66C3
split-complementary
#ECD266 #66C3EC #8F66EC
monochromatic
#C09F18 #E5C230 #ECD266 #F3E29C #FAF2D3

Accessibility & contrast

On white

1.50
#ECD266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#ECD266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD266
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD266#FFFFFF#000000##000000
##ECD2661.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE5B
Deuteranopia (green-blind)
#EBD66B
Tritanopia (blue-blind)
#FDC4BA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd266;
/* rgb */ color: rgb(236, 210, 102);
/* oklch */ color: oklch(86.4% 0.131 96.0);
Tailwind
colors: {
  custom: {
    50: '#f5df95',
    500: '#ecd266',
    950: '#000000',
  },
}
SCSS
$custom: #ecd266;
$custom-light: #f5df95;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd266",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 102
  },
  "hsl": {
    "h": 48.358,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86446,
    "c": 0.13093,
    "h": 96
  },
  "luminance": 0.64885
}

Semantic roles & 50–950 ramp

primary
#ECD266
secondary
#3852BE
accent
#33DA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD266

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

Preview Lab → · Contrast checker → · Palette generator →

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