#ECCE62#ECCE62

#ECCE62 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.6% C 0.131 H 93.9°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#ECCE62
RGBrgb(236, 206, 98)
HSLhsl(47, 78%, 65%)
HSVhsv(47, 58%, 93%)
CMYKcmyk(0%, 12.7%, 58.5%, 7.5%)
CIE-LABlab(83.37, -2.10, 56.54)
CIE-LCHlch(83.37, 56.58, 92.13°)
OKLaboklab(85.6% -0.009 0.1311)
OKLCHoklch(85.6% 0.131 93.9)
XYZxyz(58.8705, 62.8602, 20.5852)
Luminance0.6286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCE62 #6280EC
analogous
#EC8962 #ECCE62 #C5EC62
triadic
#ECCE62 #62ECCE #CE62EC
tetradic
#ECCE62 #62EC89 #6280EC #EC62C5
square
#ECCE62 #62EC89 #6280EC #EC62C5
split-complementary
#ECCE62 #62C5EC #8962EC
monochromatic
#BD9917 #E5BD2B #ECCE62 #F3DF99 #F9F0CF

Accessibility & contrast

On white

1.55
#ECCE62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#ECCE62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCE62
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCE62#FFFFFF#000000##000000
##ECCE621.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA57
Deuteranopia (green-blind)
#E9D467
Tritanopia (blue-blind)
#FDC0B6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ecce62;
/* rgb */ color: rgb(236, 206, 98);
/* oklch */ color: oklch(85.6% 0.131 93.9);
Tailwind
colors: {
  custom: {
    50: '#f5dc92',
    500: '#ecce62',
    950: '#000000',
  },
}
SCSS
$custom: #ecce62;
$custom-light: #f5dc92;
$custom-dark: #000000;
JSON
{
  "hex": "#ecce62",
  "rgb": {
    "r": 236,
    "g": 206,
    "b": 98
  },
  "hsl": {
    "h": 46.957,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.85597,
    "c": 0.13142,
    "h": 93.9
  },
  "luminance": 0.62857
}

Semantic roles & 50–950 ramp

primary
#ECCE62
secondary
#3754BC
accent
#38DB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECCE62

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

Preview Lab → · Contrast checker → · Palette generator →

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