#ECD760#ECD760

#ECD760 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.4% C 0.140 H 99.4°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#ECD760
RGBrgb(236, 215, 96)
HSLhsl(51, 79%, 65%)
HSVhsv(51, 59%, 93%)
CMYKcmyk(0%, 8.9%, 59.3%, 7.5%)
CIE-LABlab(85.65, -6.83, 60.00)
CIE-LCHlch(85.65, 60.38, 96.49°)
OKLaboklab(87.39% -0.0228 0.1383)
OKLCHoklch(87.39% 0.14 99.4)
XYZxyz(61.0062, 67.2808, 20.8371)
Luminance0.6728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD760 #6075EC
analogous
#EC9160 #ECD760 #BBEC60
triadic
#ECD760 #60ECD7 #D760EC
tetradic
#ECD760 #60EC91 #6075EC #EC60BB
square
#ECD760 #60EC91 #6075EC #EC60BB
split-complementary
#ECD760 #60BBEC #9160EC
monochromatic
#BBA216 #E5C929 #ECD760 #F3E597 #F9F3CD

Accessibility & contrast

On white

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

On black

14.46
#ECD760 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD760
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD760#FFFFFF#000000##000000
##ECD7601.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD253
Deuteranopia (green-blind)
#EFD966
Tritanopia (blue-blind)
#FDC9BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd760;
/* rgb */ color: rgb(236, 215, 96);
/* oklch */ color: oklch(87.4% 0.140 99.4);
Tailwind
colors: {
  custom: {
    50: '#f5e391',
    500: '#ecd760',
    950: '#000000',
  },
}
SCSS
$custom: #ecd760;
$custom-light: #f5e391;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd760",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 96
  },
  "hsl": {
    "h": 51,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.87393,
    "c": 0.14014,
    "h": 99.4
  },
  "luminance": 0.67278
}

Semantic roles & 50–950 ramp

primary
#ECD760
secondary
#364ABA
accent
#2ADB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD760

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

Preview Lab → · Contrast checker → · Palette generator →

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