#ECD05A#ECD05A

#ECD05A is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.9% C 0.140 H 95.9°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#ECD05A
RGBrgb(236, 208, 90)
HSLhsl(48, 79%, 64%)
HSVhsv(48, 62%, 93%)
CMYKcmyk(0%, 11.9%, 61.9%, 7.5%)
CIE-LABlab(83.80, -3.67, 60.59)
CIE-LCHlch(83.80, 60.70, 93.46°)
OKLaboklab(85.92% -0.0145 0.1388)
OKLCHoklch(85.92% 0.14 95.9)
XYZxyz(58.9960, 63.6856, 18.8559)
Luminance0.6368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD05A #5A76EC
analogous
#EC875A #ECD05A #BFEC5A
triadic
#ECD05A #5AECD0 #D05AEC
tetradic
#ECD05A #5AEC87 #5A76EC #EC5ABF
square
#ECD05A #5AEC87 #5A76EC #EC5ABF
split-complementary
#ECD05A #5ABFEC #875AEC
monochromatic
#B79815 #E6C023 #ECD05A #F2E091 #F9EFC8

Accessibility & contrast

On white

1.53
#ECD05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#ECD05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD05A
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD05A#FFFFFF#000000##000000
##ECD05A1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC4D
Deuteranopia (green-blind)
#EBD560
Tritanopia (blue-blind)
#FDC2B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ecd05a;
/* rgb */ color: rgb(236, 208, 90);
/* oklch */ color: oklch(85.9% 0.140 95.9);
Tailwind
colors: {
  custom: {
    50: '#f5de8d',
    500: '#ecd05a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd05a;
$custom-light: #f5de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd05a",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 90
  },
  "hsl": {
    "h": 48.493,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85915,
    "c": 0.1395,
    "h": 95.9
  },
  "luminance": 0.63683
}

Semantic roles & 50–950 ramp

primary
#ECD05A
secondary
#344DB6
accent
#32DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD05A

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

Preview Lab → · Contrast checker → · Palette generator →

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