#ECD466#ECD466

#ECD466 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.9% C 0.133 H 97.2°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#ECD466
RGBrgb(236, 212, 102)
HSLhsl(49, 78%, 66%)
HSVhsv(49, 57%, 93%)
CMYKcmyk(0%, 10.2%, 56.8%, 7.5%)
CIE-LABlab(84.94, -4.88, 56.50)
CIE-LCHlch(84.94, 56.71, 94.93°)
OKLaboklab(86.85% -0.0165 0.1315)
OKLCHoklch(86.85% 0.133 97.2)
XYZxyz(60.5362, 65.8818, 22.0956)
Luminance0.6588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD466 #667EEC
analogous
#EC9166 #ECD466 #C1EC66
triadic
#ECD466 #66ECD4 #D466EC
tetradic
#ECD466 #66EC91 #667EEC #EC66C1
square
#ECD466 #66EC91 #667EEC #EC66C1
split-complementary
#ECD466 #66C1EC #9166EC
monochromatic
#C0A218 #E5C530 #ECD466 #F3E39C #FAF3D3

Accessibility & contrast

On white

1.48
#ECD466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#ECD466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD466
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD466#FFFFFF#000000##000000
##ECD4661.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF5B
Deuteranopia (green-blind)
#EDD86B
Tritanopia (blue-blind)
#FDC6BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd466;
/* rgb */ color: rgb(236, 212, 102);
/* oklch */ color: oklch(86.9% 0.133 97.2);
Tailwind
colors: {
  custom: {
    50: '#f5e095',
    500: '#ecd466',
    950: '#000000',
  },
}
SCSS
$custom: #ecd466;
$custom-light: #f5e095;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd466",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 102
  },
  "hsl": {
    "h": 49.254,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8685,
    "c": 0.13252,
    "h": 97.2
  },
  "luminance": 0.65879
}

Semantic roles & 50–950 ramp

primary
#ECD466
secondary
#3850BE
accent
#30DA0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD466

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

Preview Lab → · Contrast checker → · Palette generator →

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