#ECD257#ECD257

#ECD257 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.3% C 0.143 H 97.3°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#ECD257
RGBrgb(236, 210, 87)
HSLhsl(50, 80%, 63%)
HSVhsv(50, 63%, 93%)
CMYKcmyk(0%, 11%, 63.1%, 7.5%)
CIE-LABlab(84.29, -4.88, 62.41)
CIE-LCHlch(84.29, 62.60, 94.47°)
OKLaboklab(86.29% -0.0183 0.1422)
OKLCHoklch(86.29% 0.143 97.3)
XYZxyz(59.3616, 64.6170, 18.3605)
Luminance0.6461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD257 #5771EC
analogous
#EC8757 #ECD257 #BBEC57
triadic
#ECD257 #57ECD2 #D257EC
tetradic
#ECD257 #57EC87 #5771EC #EC57BB
square
#ECD257 #57EC87 #5771EC #EC57BB
split-complementary
#ECD257 #57BBEC #8757EC
monochromatic
#B49814 #E6C320 #ECD257 #F2E18E #F8EFC5

Accessibility & contrast

On white

1.51
#ECD257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#ECD257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD257
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD257#FFFFFF#000000##000000
##ECD2571.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD49
Deuteranopia (green-blind)
#ECD65D
Tritanopia (blue-blind)
#FDC3B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd257;
/* rgb */ color: rgb(236, 210, 87);
/* oklch */ color: oklch(86.3% 0.143 97.3);
Tailwind
colors: {
  custom: {
    50: '#f5df8b',
    500: '#ecd257',
    950: '#000000',
  },
}
SCSS
$custom: #ecd257;
$custom-light: #f5df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd257",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 49.53,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8629,
    "c": 0.14337,
    "h": 97.3
  },
  "luminance": 0.64614
}

Semantic roles & 50–950 ramp

primary
#ECD257
secondary
#334AB4
accent
#2EDC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD257

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

Preview Lab → · Contrast checker → · Palette generator →

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