#ECDE62#ECDE62

#ECDE62 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.8% C 0.145 H 102.9°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#ECDE62
RGBrgb(236, 222, 98)
HSLhsl(54, 78%, 65%)
HSVhsv(54, 58%, 93%)
CMYKcmyk(0%, 5.9%, 58.5%, 7.5%)
CIE-LABlab(87.47, -10.20, 61.14)
CIE-LCHlch(87.47, 61.99, 99.48°)
OKLaboklab(88.84% -0.0323 0.141)
OKLCHoklch(88.84% 0.145 102.9)
XYZxyz(62.9202, 70.9596, 21.9351)
Luminance0.7096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE62 #6270EC
analogous
#EC9962 #ECDE62 #B5EC62
triadic
#ECDE62 #62ECDE #DE62EC
tetradic
#ECDE62 #62EC99 #6270EC #EC62B5
square
#ECDE62 #62EC99 #6270EC #EC62B5
split-complementary
#ECDE62 #62B5EC #9962EC
monochromatic
#BDAC17 #E5D32B #ECDE62 #F3E999 #F9F5CF

Accessibility & contrast

On white

1.38
#ECDE62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#ECDE62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE62
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE62#FFFFFF#000000##000000
##ECDE621.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D755
Deuteranopia (green-blind)
#F5DE68
Tritanopia (blue-blind)
#FCD0C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecde62;
/* rgb */ color: rgb(236, 222, 98);
/* oklch */ color: oklch(88.8% 0.145 102.9);
Tailwind
colors: {
  custom: {
    50: '#f5e893',
    500: '#ecde62',
    950: '#000000',
  },
}
SCSS
$custom: #ecde62;
$custom-light: #f5e893;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde62",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 98
  },
  "hsl": {
    "h": 53.913,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.88843,
    "c": 0.14462,
    "h": 102.9
  },
  "luminance": 0.70957
}

Semantic roles & 50–950 ramp

primary
#ECDE62
secondary
#3744BC
accent
#20DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECDE62

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

Preview Lab → · Contrast checker → · Palette generator →

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