#ECD460#ECD460

#ECD460 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.8% C 0.138 H 97.7°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#ECD460
RGBrgb(236, 212, 96)
HSLhsl(50, 79%, 65%)
HSVhsv(50, 59%, 93%)
CMYKcmyk(0%, 10.2%, 59.3%, 7.5%)
CIE-LABlab(84.88, -5.31, 59.14)
CIE-LCHlch(84.88, 59.38, 95.13°)
OKLaboklab(86.79% -0.0185 0.1364)
OKLCHoklch(86.79% 0.138 97.7)
XYZxyz(60.2493, 65.7670, 20.5848)
Luminance0.6576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD460 #6078EC
analogous
#EC8E60 #ECD460 #BEEC60
triadic
#ECD460 #60ECD4 #D460EC
tetradic
#ECD460 #60EC8E #6078EC #EC60BE
square
#ECD460 #60EC8E #6078EC #EC60BE
split-complementary
#ECD460 #60BEEC #8E60EC
monochromatic
#BB9F16 #E5C529 #ECD460 #F3E397 #F9F2CD

Accessibility & contrast

On white

1.48
#ECD460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#ECD460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD460
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD460#FFFFFF#000000##000000
##ECD4601.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF54
Deuteranopia (green-blind)
#EDD866
Tritanopia (blue-blind)
#FDC6BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd460;
/* rgb */ color: rgb(236, 212, 96);
/* oklch */ color: oklch(86.8% 0.138 97.7);
Tailwind
colors: {
  custom: {
    50: '#f5e091',
    500: '#ecd460',
    950: '#000000',
  },
}
SCSS
$custom: #ecd460;
$custom-light: #f5e091;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd460",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 96
  },
  "hsl": {
    "h": 49.714,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86785,
    "c": 0.13768,
    "h": 97.7
  },
  "luminance": 0.65764
}

Semantic roles & 50–950 ramp

primary
#ECD460
secondary
#364DBA
accent
#2EDB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD460

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

Preview Lab → · Contrast checker → · Palette generator →

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