#ECDA62#ECDA62

#ECDA62 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.0% C 0.141 H 100.8°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#ECDA62
RGBrgb(236, 218, 98)
HSLhsl(52, 78%, 65%)
HSVhsv(52, 58%, 93%)
CMYKcmyk(0%, 7.6%, 58.5%, 7.5%)
CIE-LABlab(86.43, -8.20, 59.99)
CIE-LCHlch(86.43, 60.55, 97.78°)
OKLaboklab(88.03% -0.0265 0.1385)
OKLCHoklch(88.03% 0.141 100.8)
XYZxyz(61.8704, 68.8600, 21.5852)
Luminance0.6886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA62 #6274EC
analogous
#EC9562 #ECDA62 #B9EC62
triadic
#ECDA62 #62ECDA #DA62EC
tetradic
#ECDA62 #62EC95 #6274EC #EC62B9
square
#ECDA62 #62EC95 #6274EC #EC62B9
split-complementary
#ECDA62 #62B9EC #9562EC
monochromatic
#BDA717 #E5CD2B #ECDA62 #F3E799 #F9F4CF

Accessibility & contrast

On white

1.42
#ECDA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#ECDA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDA62
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDA62#FFFFFF#000000##000000
##ECDA621.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD455
Deuteranopia (green-blind)
#F1DC68
Tritanopia (blue-blind)
#FCCCC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecda62;
/* rgb */ color: rgb(236, 218, 98);
/* oklch */ color: oklch(88.0% 0.141 100.8);
Tailwind
colors: {
  custom: {
    50: '#f5e593',
    500: '#ecda62',
    950: '#000000',
  },
}
SCSS
$custom: #ecda62;
$custom-light: #f5e593;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda62",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 98
  },
  "hsl": {
    "h": 52.174,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.88025,
    "c": 0.14103,
    "h": 100.8
  },
  "luminance": 0.68858
}

Semantic roles & 50–950 ramp

primary
#ECDA62
secondary
#3748BC
accent
#26DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECDA62

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

Preview Lab → · Contrast checker → · Palette generator →

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