#ECD757#ECD757

#ECD757 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.3% C 0.147 H 100.0°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#ECD757
RGBrgb(236, 215, 87)
HSLhsl(52, 80%, 63%)
HSVhsv(52, 63%, 93%)
CMYKcmyk(0%, 8.9%, 63.1%, 7.5%)
CIE-LABlab(85.57, -7.41, 63.79)
CIE-LCHlch(85.57, 64.22, 96.62°)
OKLaboklab(87.31% -0.0255 0.1451)
OKLCHoklch(87.31% 0.147 100)
XYZxyz(60.6153, 67.1245, 18.7784)
Luminance0.6712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD757 #576CEC
analogous
#EC8C57 #ECD757 #B6EC57
triadic
#ECD757 #57ECD7 #D757EC
tetradic
#ECD757 #57EC8C #576CEC #EC57B6
square
#ECD757 #57EC8C #576CEC #EC57B6
split-complementary
#ECD757 #57B6EC #8C57EC
monochromatic
#B49E14 #E6CA20 #ECD757 #F2E48E #F8F1C5

Accessibility & contrast

On white

1.46
#ECD757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#ECD757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD757
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD757#FFFFFF#000000##000000
##ECD7571.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD148
Deuteranopia (green-blind)
#F0D95E
Tritanopia (blue-blind)
#FDC8BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd757;
/* rgb */ color: rgb(236, 215, 87);
/* oklch */ color: oklch(87.3% 0.147 100.0);
Tailwind
colors: {
  custom: {
    50: '#f5e38c',
    500: '#ecd757',
    950: '#000000',
  },
}
SCSS
$custom: #ecd757;
$custom-light: #f5e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd757",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 51.544,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87305,
    "c": 0.14735,
    "h": 100
  },
  "luminance": 0.67122
}

Semantic roles & 50–950 ramp

primary
#ECD757
secondary
#3345B4
accent
#27DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD757

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

Preview Lab → · Contrast checker → · Palette generator →

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