#ECD857#ECD857

#ECD857 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.5% C 0.148 H 100.5°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#ECD857
RGBrgb(236, 216, 87)
HSLhsl(52, 80%, 63%)
HSVhsv(52, 63%, 93%)
CMYKcmyk(0%, 8.5%, 63.1%, 7.5%)
CIE-LABlab(85.82, -7.91, 64.06)
CIE-LCHlch(85.82, 64.55, 97.04°)
OKLaboklab(87.51% -0.0269 0.1457)
OKLCHoklch(87.51% 0.148 100.5)
XYZxyz(60.8707, 67.6353, 18.8636)
Luminance0.6763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD857 #576BEC
analogous
#EC8D57 #ECD857 #B6EC57
triadic
#ECD857 #57ECD8 #D857EC
tetradic
#ECD857 #57EC8D #576BEC #EC57B6
square
#ECD857 #57EC8D #576BEC #EC57B6
split-complementary
#ECD857 #57B6EC #8D57EC
monochromatic
#B49F14 #E6CB20 #ECD857 #F2E58E #F8F2C5

Accessibility & contrast

On white

1.45
#ECD857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#ECD857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD857
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD857#FFFFFF#000000##000000
##ECD8571.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD248
Deuteranopia (green-blind)
#F1DA5E
Tritanopia (blue-blind)
#FDCABD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd857;
/* rgb */ color: rgb(236, 216, 87);
/* oklch */ color: oklch(87.5% 0.148 100.5);
Tailwind
colors: {
  custom: {
    50: '#f5e38c',
    500: '#ecd857',
    950: '#000000',
  },
}
SCSS
$custom: #ecd857;
$custom-light: #f5e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd857",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 87
  },
  "hsl": {
    "h": 51.946,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87509,
    "c": 0.14817,
    "h": 100.5
  },
  "luminance": 0.67633
}

Semantic roles & 50–950 ramp

primary
#ECD857
secondary
#3344B4
accent
#26DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD857

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

Preview Lab → · Contrast checker → · Palette generator →

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