#ECD657#ECD657

#ECD657 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.1% C 0.147 H 99.5°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#ECD657
RGBrgb(236, 214, 87)
HSLhsl(51, 80%, 63%)
HSVhsv(51, 63%, 93%)
CMYKcmyk(0%, 9.3%, 63.1%, 7.5%)
CIE-LABlab(85.31, -6.90, 63.51)
CIE-LCHlch(85.31, 63.89, 96.20°)
OKLaboklab(87.1% -0.0241 0.1445)
OKLCHoklch(87.1% 0.147 99.5)
XYZxyz(60.3615, 66.6168, 18.6938)
Luminance0.6661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD657 #576DEC
analogous
#EC8B57 #ECD657 #B7EC57
triadic
#ECD657 #57ECD6 #D657EC
tetradic
#ECD657 #57EC8B #576DEC #EC57B7
square
#ECD657 #57EC8B #576DEC #EC57B7
split-complementary
#ECD657 #57B7EC #8B57EC
monochromatic
#B49D14 #E6C920 #ECD657 #F2E38E #F8F1C5

Accessibility & contrast

On white

1.47
#ECD657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.32
#ECD657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD657
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD657#FFFFFF#000000##000000
##ECD6571.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D148
Deuteranopia (green-blind)
#EFD95E
Tritanopia (blue-blind)
#FDC7BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd657;
/* rgb */ color: rgb(236, 214, 87);
/* oklch */ color: oklch(87.1% 0.147 99.5);
Tailwind
colors: {
  custom: {
    50: '#f5e28c',
    500: '#ecd657',
    950: '#000000',
  },
}
SCSS
$custom: #ecd657;
$custom-light: #f5e28c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd657",
  "rgb": {
    "r": 236,
    "g": 214,
    "b": 87
  },
  "hsl": {
    "h": 51.141,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87102,
    "c": 0.14652,
    "h": 99.5
  },
  "luminance": 0.66614
}

Semantic roles & 50–950 ramp

primary
#ECD657
secondary
#3346B4
accent
#29DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD657

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

Preview Lab → · Contrast checker → · Palette generator →

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