#ECCE6C#ECCE6C

#ECCE6C is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.7% C 0.123 H 92.7°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#ECCE6C
RGBrgb(236, 206, 108)
HSLhsl(46, 77%, 67%)
HSVhsv(46, 54%, 93%)
CMYKcmyk(0%, 12.7%, 54.2%, 7.5%)
CIE-LABlab(83.47, -1.35, 52.00)
CIE-LCHlch(83.47, 52.02, 91.49°)
OKLaboklab(85.72% -0.0057 0.1224)
OKLCHoklch(85.72% 0.123 92.7)
XYZxyz(59.3725, 63.0610, 23.2291)
Luminance0.6306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCE6C #6C8AEC
analogous
#EC8E6C #ECCE6C #CAEC6C
triadic
#ECCE6C #6CECCE #CE6CEC
tetradic
#ECCE6C #6CEC8E #6C8AEC #EC6CCA
square
#ECCE6C #6CEC8E #6C8AEC #EC6CCA
split-complementary
#ECCE6C #6CCAEC #8E6CEC
monochromatic
#C49C19 #E5BC36 #ECCE6C #F3E0A2 #FAF2D8

Accessibility & contrast

On white

1.54
#ECCE6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#ECCE6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCE6C
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCE6C#FFFFFF#000000##000000
##ECCE6C1.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB63
Deuteranopia (green-blind)
#E8D470
Tritanopia (blue-blind)
#FDC1B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ecce6c;
/* rgb */ color: rgb(236, 206, 108);
/* oklch */ color: oklch(85.7% 0.123 92.7);
Tailwind
colors: {
  custom: {
    50: '#f5dc98',
    500: '#ecce6c',
    950: '#000000',
  },
}
SCSS
$custom: #ecce6c;
$custom-light: #f5dc98;
$custom-dark: #000000;
JSON
{
  "hex": "#ecce6c",
  "rgb": {
    "r": 236,
    "g": 206,
    "b": 108
  },
  "hsl": {
    "h": 45.938,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85715,
    "c": 0.12251,
    "h": 92.7
  },
  "luminance": 0.63058
}

Semantic roles & 50–950 ramp

primary
#ECCE6C
secondary
#3A5AC2
accent
#3CD90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECCE6C

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

Preview Lab → · Contrast checker → · Palette generator →

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