#ECDB62#ECDB62

#ECDB62 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.2% C 0.142 H 101.4°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#ECDB62
RGBrgb(236, 219, 98)
HSLhsl(53, 78%, 65%)
HSVhsv(53, 58%, 93%)
CMYKcmyk(0%, 7.2%, 58.5%, 7.5%)
CIE-LABlab(86.69, -8.70, 60.28)
CIE-LCHlch(86.69, 60.91, 98.21°)
OKLaboklab(88.23% -0.028 0.1391)
OKLCHoklch(88.23% 0.142 101.4)
XYZxyz(62.1305, 69.3802, 21.6719)
Luminance0.6938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB62 #6273EC
analogous
#EC9662 #ECDB62 #B8EC62
triadic
#ECDB62 #62ECDB #DB62EC
tetradic
#ECDB62 #62EC96 #6273EC #EC62B8
square
#ECDB62 #62EC96 #6273EC #EC62B8
split-complementary
#ECDB62 #62B8EC #9662EC
monochromatic
#BDA817 #E5CE2B #ECDB62 #F3E899 #F9F4CF

Accessibility & contrast

On white

1.41
#ECDB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#ECDB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB62
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB62#FFFFFF#000000##000000
##ECDB621.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD555
Deuteranopia (green-blind)
#F2DC68
Tritanopia (blue-blind)
#FCCDC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecdb62;
/* rgb */ color: rgb(236, 219, 98);
/* oklch */ color: oklch(88.2% 0.142 101.4);
Tailwind
colors: {
  custom: {
    50: '#f5e593',
    500: '#ecdb62',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb62;
$custom-light: #f5e593;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb62",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 98
  },
  "hsl": {
    "h": 52.609,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.88229,
    "c": 0.14192,
    "h": 101.4
  },
  "luminance": 0.69378
}

Semantic roles & 50–950 ramp

primary
#ECDB62
secondary
#3747BC
accent
#24DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECDB62

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

Preview Lab → · Contrast checker → · Palette generator →

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