#ECD94D#ECD94D

#ECD94D is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.6% C 0.156 H 101.5°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#ECD94D
RGBrgb(236, 217, 77)
HSLhsl(53, 81%, 61%)
HSVhsv(53, 67%, 93%)
CMYKcmyk(0%, 8.1%, 67.4%, 7.5%)
CIE-LABlab(86.00, -8.99, 68.29)
CIE-LCHlch(86.00, 68.88, 97.50°)
OKLaboklab(87.63% -0.0311 0.1531)
OKLCHoklch(87.63% 0.156 101.5)
XYZxyz(60.7471, 67.9970, 16.9447)
Luminance0.6799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD94D #4D60EC
analogous
#EC8A4D #ECD94D #B0EC4D
triadic
#ECD94D #4DECD9 #D94DEC
tetradic
#ECD94D #4DEC8A #4D60EC #EC4DB0
square
#ECD94D #4DEC8A #4D60EC #EC4DB0
split-complementary
#ECD94D #4DB0EC #8A4DEC
monochromatic
#AC9A12 #E4CB18 #ECD94D #F2E584 #F8F1BC

Accessibility & contrast

On white

1.44
#ECD94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#ECD94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD94D
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD94D#FFFFFF#000000##000000
##ECD94D1.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd94d;
/* rgb */ color: rgb(236, 217, 77);
/* oklch */ color: oklch(87.6% 0.156 101.5);
Tailwind
colors: {
  custom: {
    50: '#f6e486',
    500: '#ecd94d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd94d;
$custom-light: #f6e486;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd94d",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 77
  },
  "hsl": {
    "h": 52.83,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87629,
    "c": 0.15623,
    "h": 101.5
  },
  "luminance": 0.67994
}

Semantic roles & 50–950 ramp

primary
#ECD94D
secondary
#303FAD
accent
#22DD08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD94D

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

Preview Lab → · Contrast checker → · Palette generator →

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